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

Ruff result differs from flake 8 results #10433

Closed
oliverandrich opened this issue Mar 17, 2024 · 1 comment
Closed

Ruff result differs from flake 8 results #10433

oliverandrich opened this issue Mar 17, 2024 · 1 comment

Comments

@oliverandrich
Copy link

I am using ruff 0.3.3 and Flake8 7.0.0 on a project and get different results from both tools. Nothing spectacular, but it raises uncertainty if ruff is really a drop-in replacement as it states or not.

Running it on my django-tailwind-cli project I get an error message from flake8 and I don't get it from ruff. flake8 is correct. I have code in my project that violates A003 from flake8-builtins.

CleanShot 2024-03-17 at 09 53 06@2x

Any idea? What other differences exist? I checked the FAQ and only found references to flake8-bugbear there. And the rules for ruff state that it is checking A003.

@oliverandrich
Copy link
Author

Okay, found that it is done by decision in this case.

#7806

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant