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

Fix W391 linter issues #35109

Merged
merged 1 commit into from
Feb 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/sage/combinat/key_polynomial.py
Original file line number Diff line number Diff line change
Expand Up @@ -863,4 +863,3 @@ def sorting_word(alpha):
w.append(j+1)
L[j], L[j + 1] = L[j + 1], L[j]
return reversed(w), L

1 change: 0 additions & 1 deletion src/sage/combinat/schubert_polynomial.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,4 +499,3 @@ def product_on_basis(self, left, right):
X[4, 2, 1, 3]
"""
return symmetrica.mult_schubert_schubert(left, right)

1 change: 0 additions & 1 deletion src/sage/groups/cactus_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -997,4 +997,3 @@ def gens(self):
continue
gens.append(val)
return tuple([self(g) for g in gens])

1 change: 0 additions & 1 deletion src/sage/groups/finitely_presented_named.py
Original file line number Diff line number Diff line change
Expand Up @@ -595,4 +595,3 @@ def CactusPresentation(n):
elt = gens[i] * gens[j] * ~gens[K.index(y)] * ~gens[K.index(x)]
rls.append(elt)
return FinitelyPresentedGroup(F, tuple(rls))

1 change: 0 additions & 1 deletion src/sage/groups/kernel_subgroup.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,4 +223,3 @@ def __invert__(self):
s[1,2]*s[2,3]*s[1,2]*s[1,3]
"""
return type(self)(self.parent(), ~self.value)

1 change: 0 additions & 1 deletion src/sage/groups/misc_gps/misc_groups_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@
from sage.combinat.root_system.reflection_group_real import ReflectionGroup
from sage.groups.cactus_group import CactusGroup as Cactus
from sage.groups.cactus_group import PureCactusGroup as PureCactus