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

Display-only fix is marked as fixable in the docs (ERA001) #9505

Closed
korchizhinskiy opened this issue Jan 13, 2024 · 1 comment · Fixed by #9649
Closed

Display-only fix is marked as fixable in the docs (ERA001) #9505

korchizhinskiy opened this issue Jan 13, 2024 · 1 comment · Fixed by #9649
Assignees
Labels
bug Something isn't working

Comments

@korchizhinskiy
Copy link

image

https://docs.astral.sh/ruff/rules/#eradicate-era
This rule specify as fixable, but when i use --fix flag, errors don't fixes automaticly.
And there's no notification below the errors about fixable this error.

@charliermarsh
Copy link
Member

We probably shouldn't mark display-only fixes as fixable in the docs. \cc @zanieb

@charliermarsh charliermarsh added the bug Something isn't working label Jan 13, 2024
@charliermarsh charliermarsh changed the title select=ERA001 fixable Display-only fix is marked as fixable in the docs (ERA001) Jan 13, 2024
@charliermarsh charliermarsh self-assigned this Jan 26, 2024
charliermarsh added a commit that referenced this issue Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants