Skip to content

Add Tonelli-Shanks algorithm for modular square roots #18538

Add Tonelli-Shanks algorithm for modular square roots

Add Tonelli-Shanks algorithm for modular square roots #18538

Triggered via pull request August 3, 2026 20:31
Status Failure
Total duration 12s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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