Skip to content

Commit

Permalink
Fix W391 linter issues (#35109)
Browse files Browse the repository at this point in the history
Fixes a couple of W391 linter issues that were introduced by merging a
couple of trac tickets.
  • Loading branch information
tobiasdiez authored Feb 13, 2023
1 parent 49a0aed commit 293dd72
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
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

0 comments on commit 293dd72

Please sign in to comment.