-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Replace flake8/pep8 with ruff #7436
Conversation
select = ["I"] | ||
select = ["W", "E", "F", "I"] | ||
ignore = [ | ||
"E711", # comparison to None should be 'if cond is None:' |
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.
Turns out a lot of former disabled checks are not in ruff or do not need to be ignored.
|
||
status "merging against first commit after autopep8 and take our version when there are conflicts" | ||
git merge $POSTPEP8 | ||
# autopep8 takes 1h30 to run on the whole codebase, so let git resolve the obvious merge conflicts. |
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.
Current ruff is faster than I can type it in the terminal. So I guess this script is no longer needed.
Ruff should be much faster so no need to have this complex script anymore
Rebased. |
Remove this paragraph
If you don't remove this paragraph from the pull request description, this means you didn't read our contributor documentation, and your patch will need more back and forth before it can be accepted!
Please have a look at our developer documentation before submitting your Pull Request.
http://docs.buildbot.net/latest/developer/quickstart.html
And especially:
http://docs.buildbot.net/latest/developer/pull-request.html
Contributor Checklist:
newsfragments
directory (and read theREADME.txt
in that directory)