Merge pull request #5760 from blueyed/F401
minor: make noqa comment more specific
This commit is contained in:
commit
6bf6265c59
|
@ -27,9 +27,9 @@ MODULE_NOT_FOUND_ERROR = (
|
|||
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
from importlib import metadata as importlib_metadata # noqa
|
||||
from importlib import metadata as importlib_metadata # noqa: F401
|
||||
else:
|
||||
import importlib_metadata # noqa
|
||||
import importlib_metadata # noqa: F401
|
||||
|
||||
|
||||
def _format_args(func):
|
||||
|
|
Loading…
Reference in New Issue