Skip to content

minor: make noqa comment more specific - #5760

Merged
asottile merged 1 commit into
pytest-dev:masterfrom
blueyed:F401
Aug 18, 2019
Merged

minor: make noqa comment more specific#5760
asottile merged 1 commit into
pytest-dev:masterfrom
blueyed:F401

Conversation

@blueyed

@blueyed blueyed commented Aug 17, 2019

Copy link
Copy Markdown
Contributor

No description provided.

Comment thread src/_pytest/compat.py

if sys.version_info >= (3, 8):
from importlib import metadata as importlib_metadata # noqa
from importlib import metadata as importlib_metadata # noqa: F401

@graingert graingert Aug 17, 2019

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you defined an __all__ you wouldn't need this noqa

@asottile asottile left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@asottile
asottile merged commit 6bf6265 into pytest-dev:master Aug 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants