-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Deprecate redundant linting #11902
Deprecate redundant linting #11902
Conversation
perhaps i should remove all of the |
Would the current Ruff settings raise the flake8 failure from #11791 (comment)? I'll try and find some other recent examples where flake8 failed but Ruff didn't. A |
it should. From memory that was just a formatting issue related to some indents. In principle, the If only there was some kind of tool, perhaps built into ruff, that would automatically resolve issues with formatting and indentation ;) |
Can we keep the 'external' entry and the inline E704 suppressions? I'd be happier to merge then. A |
the |
Having looked a little closer, see:
There are several rules that flake8 does implement that Ruff simply doesn't, and we aren't at a point where we'll adopt an automatic formatter. So I think I'm happy to drop flake8-simplify, but we still need to keep flake8 proper, it seems. A |
See #11906 |
removes deprecated linting.
note that this is missing one lint - E704. I feel like it's overkill keeping an entire flake8 toolchain around for just one lint.
Especially since that lint has been comprehensively disabled inline with
noqas