Visitar URL original
Fix continued fraction precision · TheAlgorithms/Python@be0005a · GitHub
Skip to content

Fix continued fraction precision #21207

Fix continued fraction precision

Fix continued fraction precision #21207

Triggered via pull request November 13, 2026 00:43
Status Failure
Total duration 11s
Artifacts –

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 notice
ruff (PLW1510): Agent/agent/tools.py#L90
Agent/agent/tools.py:90:18: PLW1510 `subprocess.run` without explicit `check` argument help: Add explicit `check=False`
ruff (S603): Agent/agent/tools.py#L90
Agent/agent/tools.py:90:18: S603 `subprocess` call: check for execution of untrusted input
ruff (SIM108): Agent/agent/tools.py#L28
Agent/agent/tools.py:28:5: SIM108 Use ternary operator `target = root if directory in ("", ".", "/") else (root / directory).resolve()` instead of `if`-`else`-block help: Replace `if`-`else`-block with `target = root if directory in ("", ".", "/") else (root / directory).resolve()`
ruff (BLE001): Agent/agent/tools.py#L21
Agent/agent/tools.py:21:12: BLE001 Do not catch blind exception: `Exception`
ruff (F401): Agent/agent/tools.py#L3
Agent/agent/tools.py:3:21: F401 `pathlib.Path` imported but unused help: Remove unused import: `pathlib.Path`
ruff (BLE001): Agent/agent/orchestrator.py#L175
Agent/agent/orchestrator.py:175:24: BLE001 Do not catch blind exception: `Exception`
ruff (W293): Agent/agent/orchestrator.py#L102
Agent/agent/orchestrator.py:102:1: W293 Blank line contains whitespace help: Remove whitespace from blank line
ruff (E501): Agent/agent/orchestrator.py#L72
Agent/agent/orchestrator.py:72:89: E501 Line too long (94 > 88)
ruff (E501): Agent/agent/orchestrator.py#L27
Agent/agent/orchestrator.py:27:89: E501 Line too long (97 > 88)
ruff (I001): Agent/agent/orchestrator.py#L2
Agent/agent/orchestrator.py:2:1: I001 Import block is un-sorted or un-formatted help: Organize imports
ruff
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"