Skip to content

Add Tonelli-Shanks algorithm for modular square roots #18540

Add Tonelli-Shanks algorithm for modular square roots

Add Tonelli-Shanks algorithm for modular square roots #18540

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

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
ruff
Process completed with exit code 1.
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