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
feat(lint): switch to ruff #935
Conversation
3a132f6
to
3a5d4ef
Compare
ec404f7
to
b9d8951
Compare
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.
how on earth does it run so quickly :o
d2ce7f0
to
9d129c0
Compare
Keep in mind if #836 is merged first, #836 (comment) and https://github.com/DisnakeDev/disnake/pull/836/files#diff-1dccad827a8e5157df1dcdb70b73e454524c2586ebc64576af82cb348d478892R37-R39 can be resolved here |
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.
lgtm!
8011b70
to
8bbed2c
Compare
8bbed2c
to
da50cae
Compare
1e7b330
to
da50cae
Compare
2c19ecb
to
da50cae
Compare
Summary
Migrate to ruff, and stop using flake8. This speeds up a full repository lint from 25+ seconds to half a second.
If we choose to use ruff's import sorting, then we can remove isort and speed up by about another second (of ~2.5)
Checklist
task lint
task pyright