-
-
Notifications
You must be signed in to change notification settings - Fork 487
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
more fixes in quadratic forms #36180
Conversation
Documentation preview for this PR (built with commit 15201fc; changes) is ready! 🎉 |
b1[3] = 1 | ||
b1[4] = s[1] | ||
blocks.append(b1) | ||
for s in [(1, 4), (5, 0)]: | ||
b1 = copy(b) | ||
b1[2] = s[0]*(-1)**(rk//2 - 2) % 8 | ||
b1[2] = s[0]*(-1)**(rk // 2 - 2) % 8 |
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.
PEP8 requires spaces around the outermost arithmetic operators only
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.
this is one instance of pycodestyle warning E226
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.
See also PyCQA/pycodestyle#248
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.
This is fixing a few code and doc details in two files inside quadratic forms.
📝 Checklist