Skip to content

minor: make noqa comment more specific#5760

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

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

Conversation

@blueyed
Copy link
Contributor

@blueyed blueyed commented Aug 17, 2019

No description provided.


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

@graingert graingert Aug 17, 2019

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

Copy link
Member

@asottile asottile left a comment

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