-
-
Notifications
You must be signed in to change notification settings - Fork 645
use ruff to auto-simplify SIM110 #40258
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 3afa004; changes) is ready! 🎉 |
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.
Merci beaucoup pour toutes tes relectures, David. |
Pas de souci. Espérons que le nombre total de relecteurs augmentera un jour... il y a plein de PR en attente pour lesquelles je suis incompétent. J'ai des PRs en attente. Il y a surement pas mal de PR à clore car abandonnées. |
Co-authored-by: Martin Rubey <[email protected]>
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.
sagemathgh-40258: use ruff to auto-simplify SIM110 This is about using `all` or `any` where possible. This was scripted using `ruff check --select=SIM110 --fix --unsafe-fixes src/sage` ### 📝 Checklist - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. URL: sagemath#40258 Reported by: Frédéric Chapoton Reviewer(s): David Coudert, Frédéric Chapoton, Martin Rubey
This is about using
all
orany
where possible.This was scripted using
ruff check --select=SIM110 --fix --unsafe-fixes src/sage
📝 Checklist