Skip to content

Conversation

fchapoton
Copy link
Contributor

just a minor cleanup, after ruff suggestions, in quadratic_forms folder

📝 Checklist

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

@tscrim
Copy link
Collaborator

tscrim commented Feb 20, 2024

Note that for a matrix space MS, the result of MS(0) and MS.zero() are different. The former is mutable, but the latter is immutable.

Copy link

Documentation preview for this PR (built with commit 839b6bd; changes) is ready! 🎉

Copy link
Contributor

@grhkm21 grhkm21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I assume it's only required for me to verify correctness, not look for additional improvements.

Just a question, what does the C4, UP, PERF mean?

@fchapoton
Copy link
Contributor Author

Thanks a lot. These letter combinations are some of the codes that the linter ruff can check and fix, see https://docs.astral.sh/ruff/rules/

@vbraun vbraun merged commit 44182de into sagemath:develop Mar 31, 2024
@fchapoton fchapoton deleted the ruff_quadratix branch April 1, 2024 07:00
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.

5 participants