-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Mismatch with flake8 #3576
Comments
These checks from flake8 are not yet available in Ruff. |
Yup that's right! We haven't finished implementing those "stylistic" rules from Flake8, but we've made a bunch of progress on them. If you try with a snippet like: import os
def f():
x = 1 You should see unused import and unused variable errors in both Flake8 and Ruff. Thanks for giving Ruff a try :) |
Awesome, thx for the heads up! Is there an easy way to check if rules are / are not implemented yet? |
We're missing 13 rules (#2402), however some of the rules that are checked off in that issue are still behind a flag and not yet available in the release (coming soon). So the place to look would be the |
Easy enough! 🚀 Thank you so much! |
I never really spend any thoughts on linting, I rather accepted that it was there, only since Charlies webinar with jetbrains I became interested and since I suggested to give ruff a try in our projects. Just as a disclaimer, most likely i'm just making a stupid mistake....
With this aside, what is the issue? As far as I understand flake8 and ruff should be pretty much consistent, but we found this:
are those just not implemented yet?
here is the snippet regarding the first flake8 error: (last line)
pyproject.toml:
setup.cfg
The text was updated successfully, but these errors were encountered: