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

write somewhere in the documentation that extentions are not respecting F401 #734

Open
12rambau opened this issue Jan 17, 2024 · 0 comments
Labels
proposal Idea for a new feature.

Comments

@12rambau
Copy link

When running linting process using Ruff or flake8, F401 will remove any extension lib from the file as its never called.
I checked your own codebase and you are specifying:

import rioxarray # noqa: F401

Would it make sense to notify potential users in the documentation ?

I was using auto-fix from ruff in my project and it took me a while to understand that the pre-commit was removing rioxarray from the import sections all the times 😄

@12rambau 12rambau added the proposal Idea for a new feature. label Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Idea for a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant