Skip to content

Commit

Permalink
Skip formatting on occasional long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
mhostetter committed Dec 11, 2022
1 parent a843fdc commit 0c9133c
Showing 1 changed file with 3 additions and 49 deletions.
52 changes: 3 additions & 49 deletions src/galois/_prime.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,55 +303,9 @@ def random_prime(bits: int, seed: int | None = None) -> int:
return p


MERSENNE_EXPONENTS = [
2,
3,
5,
7,
13,
17,
19,
31,
61,
89,
107,
127,
521,
607,
1279,
2203,
2281,
3217,
4253,
4423,
9689,
9941,
11213,
19937,
21701,
23209,
44497,
86243,
110503,
132049,
216091,
756839,
859433,
1257787,
1398269,
2976221,
3021377,
6972593,
13466917,
20996011,
24036583,
25964951,
30402457,
32582657,
37156667,
42643801,
43112609,
]
# fmt: off
MERSENNE_EXPONENTS = [2, 3, 5, 7, 13, 17, 19, 31, 61, 89, 107, 127, 521, 607, 1279, 2203, 2281, 3217, 4253, 4423, 9689, 9941, 11213, 19937, 21701, 23209, 44497, 86243, 110503, 132049, 216091, 756839, 859433, 1257787, 1398269, 2976221, 3021377, 6972593, 13466917, 20996011, 24036583, 25964951, 30402457, 32582657, 37156667, 42643801, 43112609] # pylint: disable=line-too-long
# fmt: on


@export
Expand Down

0 comments on commit 0c9133c

Please sign in to comment.