Enable lint PGH004 - Use specific rule codes when using noqa

This commit is contained in:
Ran Benita
2024-02-09 11:14:36 +02:00
parent d1ee6d154f
commit a182e10b06
8 changed files with 9 additions and 8 deletions

View File

@@ -712,7 +712,7 @@ class TestRequestBasic:
)
def test_request_garbage(self, pytester: Pytester) -> None:
try:
import xdist # noqa
import xdist # noqa: F401
except ImportError:
pass
else: