Skip to content

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

Open

Description

@12rambau

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 😄

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    proposalIdea for a new feature.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions