Skip to content
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

a few details in combinat folder #37245

Merged
merged 1 commit into from
Feb 13, 2024
Merged

Conversation

fchapoton
Copy link
Contributor

namely

  • use ruff to fix some containement tests

  • add links to some error codes in the doc

📝 Checklist

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

Copy link

github-actions bot commented Feb 6, 2024

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

Copy link
Contributor

@dcoudert dcoudert left a comment

Choose a reason for hiding this comment

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

Thanks for the explanation.

LGTM.

vbraun pushed a commit to vbraun/sage that referenced this pull request Feb 7, 2024
    
namely

- use ruff to fix some containement tests

- add links to some error codes in the doc

### 📝 Checklist

- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
    
URL: sagemath#37245
Reported by: Frédéric Chapoton
Reviewer(s): David Coudert, Frédéric Chapoton
@@ -709,7 +709,7 @@ def steiner_quadruple_system(n, check=False):
....: sqs = designs.steiner_quadruple_system(n, check=True)
"""
n = int(n)
if not ((n % 6) in [2, 4]):
if (n % 6) not in [2, 4]:
Copy link
Contributor

@grhkm21 grhkm21 Feb 12, 2024

Choose a reason for hiding this comment

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

(Not mandatory but) should this check be moved to the bottom of the if-else chain? Especially since there is an error at the end that says "this should never happen".

@vbraun vbraun merged commit 1ac73d8 into sagemath:develop Feb 13, 2024
21 of 25 checks passed
@fchapoton fchapoton deleted the details_combi branch February 14, 2024 07:23
@mkoeppe mkoeppe added this to the sage-10.3 milestone Mar 7, 2024
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.

None yet

5 participants