Enable more preview pycodestyle error rules in ruff - #32126
Merged
Conversation
5 tasks
The following rules are skipped because they cause too many changes: ``` 2559 E226 [*] missing-whitespace-around-arithmetic-operator 1475 E241 [*] multiple-spaces-after-comma ``` Additionally, fix the following errors: ``` 37 E303 [*] too-many-blank-lines 18 E231 [*] missing-whitespace 16 E252 [*] missing-whitespace-around-parameter-equals 2 E301 [*] blank-line-between-methods 1 E116 [ ] unexpected-indentation-comment 1 E271 [*] multiple-spaces-after-keyword ``` All remaining rules that were enabled are already clean.
rcomer
approved these changes
Jul 28, 2026
rcomer
left a comment
Member
There was a problem hiding this comment.
The rules specially about tabs are perhaps redundant. I cannot imagine anyone writing something like this example.
https://docs.astral.sh/ruff/rules/tab-after-operator/
Member
Author
|
It does seem unlikely, but these are all |
timhoffm
approved these changes
Jul 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR summary
The following rules are skipped because they cause too many changes:
Additionally, fix the following errors:
All remaining rules that were enabled are already clean.
AI Disclosure
None
PR quality check