-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
using ruff for UP004, UP008, UP028 #36462
Conversation
not sure that the changes to super will work ; I think I kept them as they were breaking something ; let's see |
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.
LGTM.
Do you plan to add ruff to our linter fleet? |
maybe, but the CI is such a mess for the moment... |
merge conflict |
@fchapoton At least add ruff to the developer documentation please. https://doc.sagemath.org/html/en/developer/tools.html |
I worried that |
back to positive after trivial merge |
Documentation preview for this PR (built with commit e3ca71f; changes) is ready! 🎉 |
this was scripted using `ruff check --fix --select UP004,UP008,UP028 src/sage` here is the link to `ruff` documentation: https://docs.astral.sh/ruff/rules/ ### 📝 Checklist - [x] The title is concise, informative, and self-explanatory. - [x] The description explains in detail what this PR is about. URL: sagemath#36462 Reported by: Frédéric Chapoton Reviewer(s): Kwankyu Lee
this was scripted using `ruff check --fix --select UP004,UP008,UP028 src/sage` here is the link to `ruff` documentation: https://docs.astral.sh/ruff/rules/ ### 📝 Checklist - [x] The title is concise, informative, and self-explanatory. - [x] The description explains in detail what this PR is about. URL: sagemath#36462 Reported by: Frédéric Chapoton Reviewer(s): Kwankyu Lee
this was scripted using `ruff check --fix --select UP004,UP008,UP028 src/sage` here is the link to `ruff` documentation: https://docs.astral.sh/ruff/rules/ ### 📝 Checklist - [x] The title is concise, informative, and self-explanatory. - [x] The description explains in detail what this PR is about. URL: sagemath#36462 Reported by: Frédéric Chapoton Reviewer(s): Kwankyu Lee
this was scripted using `ruff check --fix --select UP004,UP008,UP028 src/sage` here is the link to `ruff` documentation: https://docs.astral.sh/ruff/rules/ ### 📝 Checklist - [x] The title is concise, informative, and self-explanatory. - [x] The description explains in detail what this PR is about. URL: sagemath#36462 Reported by: Frédéric Chapoton Reviewer(s): Kwankyu Lee
this was scripted using
ruff check --fix --select UP004,UP008,UP028 src/sage
here is the link to
ruff
documentation: https://docs.astral.sh/ruff/rules/📝 Checklist