Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explanation for N817 #165

Closed
Dreamsorcerer opened this issue Mar 25, 2021 · 3 comments
Closed

Explanation for N817 #165

Dreamsorcerer opened this issue Mar 25, 2021 · 3 comments

Comments

@Dreamsorcerer
Copy link

It would be nice if the documentation gave some explanation.

import xml.etree.ElementTree as ET

triggers N817, yet it is the recommended format in the Python documentation.

@sigmavirus24
Copy link
Member

#133

It's specifically it's own error code so that it can be ignored while still implementing what's considered best practice by the community (with rare exceptions such as ET).

@Dreamsorcerer
Copy link
Author

OK, that makes sense. Would be nice to have that info in the docs though.

@sigmavirus24
Copy link
Member

Feel free to send a Pr to that effect.

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

No branches or pull requests

2 participants