Add Tonelli-Shanks algorithm for modular square roots #18538
Annotations
4 errors
|
ruff
Process completed with exit code 1.
|
|
ruff (W292):
maths/tonelli_shanks.py#L135
maths/tonelli_shanks.py:135:22: W292 No newline at end of file
help: Add trailing newline
|
|
ruff (EM102):
maths/tonelli_shanks.py#L121
maths/tonelli_shanks.py:121:30: EM102 Exception must not use an f-string literal, assign to variable first
help: Assign to variable; remove f-string literal
|
|
ruff (EM102):
maths/tonelli_shanks.py#L87
maths/tonelli_shanks.py:87:26: EM102 Exception must not use an f-string literal, assign to variable first
help: Assign to variable; remove f-string literal
|