rioxarray icon indicating copy to clipboard operation
rioxarray copied to clipboard

write somewhere in the documentation that extentions are not respecting F401

Open 12rambau opened this issue 1 year ago • 0 comments

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 :smile:

12rambau avatar Jan 17 '24 20:01 12rambau