-
-
Notifications
You must be signed in to change notification settings - Fork 656
fix and activate E305 in pyx files #38176
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
Conversation
Documentation preview for this PR (built with commit 8e0d14c; changes) is ready! 🎉 |
@@ -183,7 +183,7 @@ description = | |||
# See https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes | |||
deps = pycodestyle | |||
commands = pycodestyle --select E111,E21,E221,E222,E225,E227,E228,E25,E271,E303,E305,E306,E401,E502,E701,E702,E703,E71,E72,W291,W293,W391,W605 {posargs:{toxinidir}/sage/} | |||
pycodestyle --select E111,E271,E301,E306,E401,E502,E703,E712,E713,E714,E72,W29,W391,W605, --filename *.pyx {posargs:{toxinidir}/sage/} | |||
pycodestyle --select E111,E271,E301,E305,E306,E401,E502,E703,E712,E713,E714,E72,W29,W391,W605, --filename *.pyx {posargs:{toxinidir}/sage/} |
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.
Also update SAGE_ROOT/.vscode/settings.json please
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.
it seems that there is nothing in there to be modified. No idea if this has been moved or removed
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.
You are right; pycodestyle has been replaced by ruff there.
Then let's please remove the comment in the file that instructs people to update settings.json ....
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.
Thanks, LGTM
sagemathgh-38176: fix and activate E305 in pyx files this is adding the pycodestyle E305 check to pycodestyle-minimal in pyx files ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: sagemath#38176 Reported by: Frédéric Chapoton Reviewer(s): Frédéric Chapoton, Matthias Köppe
sagemathgh-38176: fix and activate E305 in pyx files this is adding the pycodestyle E305 check to pycodestyle-minimal in pyx files ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: sagemath#38176 Reported by: Frédéric Chapoton Reviewer(s): Frédéric Chapoton, Matthias Köppe
this is adding the pycodestyle E305 check to pycodestyle-minimal in pyx files
📝 Checklist