-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Switch to ruff for linting #12073
Switch to ruff for linting #12073
Conversation
I don't think this needs a NEWS entry, but if anyone wants me to add one, just say. I'll add a follow-up commit here to replace isort as well once the initial CI checks have completed. |
pyproject.toml
Outdated
".nox", | ||
".tox", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its by default excluded https://beta.ruff.rs/docs/settings/#exclude
it should be extend-exclude
(?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I got this by running flake8-to-ruff and didn't change much from what it suggested. I'll fix this.
Co-authored-by: q0w <43147888+q0w@users.noreply.github.com>
Fixes #12072