Skip to content

Conversation

@fchapoton
Copy link
Contributor

about UP022, UP015 and UP034

https://docs.astral.sh/ruff/rules/#pyupgrade-up

📝 Checklist

  • The title is concise and informative.
  • The description explains in detail what this PR is about.

@github-actions
Copy link

Documentation preview for this PR (built with commit ad04953; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

@vincentmacri
Copy link
Member

Looks good! You can add these rules to the CI like I did in #41108 if you want (in which case you might might to make this PR depend on that one otherwise we'll have merge conflicts). If you don't want to, I plan to fix some other UP rules soon and I can just enable the ones you fixed here when I do that.

@vbraun vbraun merged commit 4119163 into sagemath:develop Nov 11, 2025
26 checks passed
@fchapoton fchapoton deleted the ruff_UP_fixes branch November 12, 2025 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants