Skip to content

Commit 2c83544

Browse files
committed
restrict to src/sage
1 parent 6f58cdf commit 2c83544

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
if: (success() || failure()) && steps.deps.outcome == 'success'
3636
run: |
3737
uv run --frozen --only-group lint -- ruff check --output-format github --ignore E402,E721,E731,E741,E742,E743,F401,F402,F403,F405,F821,F841,I001,PLC0206,PLC0208,PLC2401,PLC3002,PLE0302,PLR0124,PLR0402,PLR0911,PLR0912,PLR0913,PLR0915,PLR1704,PLR1711,PLR1714,PLR1716,PLR1736,PLR2004,PLR5501,PLW0120,PLW0211,PLW0602,PLW0603,PLW0642,PLW1508,PLW1510,PLW2901,PLW3301
38-
uv run --frozen --only-group lint -- ruff check --output-format github --preview --select E111,E115,E21,E221,E222,E225,E227,E228,E25,E271,E272,E275,E302,E303,E305,E306,E401,E502,E701,E702,E703,E71,W291,W293,W391,W605
38+
uv run --frozen --only-group lint -- ruff check --output-format github --preview --select E111,E115,E21,E221,E222,E225,E227,E228,E25,E271,E272,E275,E302,E303,E305,E306,E401,E502,E701,E702,E703,E71,W291,W293,W391,W605 src/sage/
3939
4040
- name: Code style check with relint
4141
if: (success() || failure()) && steps.deps.outcome == 'success'

src/sage/arith/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3600,7 +3600,7 @@ def CRT_list(values, moduli=None):
36003600
[1, 2, 3]
36013601
sage: ms
36023602
[5, 7, 9]
3603-
3603+
36043604
Tests for call with length 1 lists (:issue:`40074`)::
36053605
36063606
sage: x = CRT_list([1], [2]); x

src/sage/graphs/digraph.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3296,6 +3296,7 @@ def cycle_iter(v):
32963296
elif algorithm == 'B':
32973297
if not simple:
32983298
raise ValueError("The algorithm 'B' is available only when simple=True.")
3299+
32993300
def simple_cycle_iter(hh, e):
33003301
return hh._all_simple_cycles_iterator_edge(e,
33013302
max_length=max_length,
@@ -3304,6 +3305,7 @@ def simple_cycle_iter(hh, e):
33043305
by_weight=by_weight,
33053306
check_weight=check_weight,
33063307
report_weight=True)
3308+
33073309
SCCS = h.strongly_connected_components_subgraphs()
33083310
iterators = dict()
33093311
while SCCS:

0 commit comments

Comments
 (0)