Skip to content

Commit 6bf6265

Browse files
authored
Merge pull request #5760 from blueyed/F401
minor: make noqa comment more specific
2 parents 32dac18 + 7c26a65 commit 6bf6265

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/_pytest/compat.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727

2828

2929
if sys.version_info >= (3, 8):
30-
from importlib import metadata as importlib_metadata # noqa
30+
from importlib import metadata as importlib_metadata # noqa: F401
3131
else:
32-
import importlib_metadata # noqa
32+
import importlib_metadata # noqa: F401
3333

3434

3535
def _format_args(func):

0 commit comments

Comments
 (0)