Skip to content

usethis rule --ignore ERA001 removes comments in ruff.toml #1171

Description

@nathanjmcdougall

e.g.

lint.ignore = [
  "ANN401",  # This is too strict for dunder methods.
  "B023",    # Prevents using df.loc[lambda _: ...]; too many false positives.
  "B024",    # This is controversial, ABC's don't always need methods.
  "C408",    # This is controversial, calls to `dict` can be more idiomatic than {}.
]

becomes

lint.ignore = ["ANN401", "B023", "B024", "C408", "ERA001"]

This is a bug.

Activity

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

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions