-
-
Notifications
You must be signed in to change notification settings - Fork 655
fix most E301 warnings #35768
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
fix most E301 warnings #35768
Conversation
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.
only a few minor remarks.
@@ -964,19 +963,22 @@ def sum_by_coefficients_with(self, right): | |||
# raise TypeError, "Oh no! The multiplier cannot be coerced into the base ring of the quadratic form. =(" | |||
# | |||
# return QuadraticForm(self.base_ring(), self.dim(), [c * self.__coeffs[i] for i in range(len(self.__coeffs))]) | |||
# ========================================================================================================================= |
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.
I don't understand this change in view of the bloc of commented code.
coercible to the base ring of the quadratic form. If a vector | ||
coercible to the base ring of the quadratic form. | ||
|
||
If a vector |
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.
You could align this bloc in 80 columns mode
@@ -6643,6 +6643,7 @@ def reduction_at(p): | |||
return (H_q) | |||
#<------------------------------------------------------------------------- |
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.
Isn't it a problem to let this line without space after #
?
@@ -6727,6 +6728,7 @@ def test_with_T(R): | |||
return xs | |||
#<------------------------------------------------------------------------- |
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.
same question here
Documentation preview for this PR (built with commit dce64d6) is ready! 🎉 |
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.
Merci beaucoup, David. |
📚 Description
This fixes most E301 warnings, except 2 problematic ones relating to strange new syntax for code typing
📝 Checklist
⌛ Dependencies