minor: make noqa comment more specific
This commit is contained in:
parent
32dac18f38
commit
7c26a65865
|
@ -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