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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean the file hexad.py #36635

Merged
merged 2 commits into from
Nov 5, 2023
Merged

clean the file hexad.py #36635

merged 2 commits into from
Nov 5, 2023

Conversation

fchapoton
Copy link
Contributor

various little pep8 details, some fixes by ruff, unicode art, etc

馃摑 Checklist

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

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.

otherwise LGTM.

MINIMOG[0][2], MINIMOG[2][1])
if H != []: # must be type 3
if H: # must be type 3
return list(H), WHAT
if H == []: # could be type 0
Copy link
Contributor

Choose a reason for hiding this comment

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

This could be if not H:, or we can remove this test as we checked if H: 2 lines before.

The same situation appears multiple times below.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

voila, merci pour la relecture

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.

LGTM. Passes tests on Fedora 35.

Copy link

github-actions bot commented Nov 3, 2023

Documentation preview for this PR (built with commit 78a16ba; changes) is ready! 馃帀

@vbraun vbraun merged commit d1da6ba into sagemath:develop Nov 5, 2023
17 of 21 checks passed
@mkoeppe mkoeppe added this to the sage-10.2 milestone Nov 5, 2023
@fchapoton fchapoton deleted the clean_hexad.py branch November 5, 2023 15:38
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

4 participants