Skip to content

Add Disarium number algorithm with type hints and doctests #15613

Add Disarium number algorithm with type hints and doctests

Add Disarium number algorithm with type hints and doctests #15613

Triggered via pull request October 19, 2025 13:17
Status Failure
Total duration 10s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
ruff
Process completed with exit code 1.
Ruff (RUF003): scripts/evaluator.py#L170
scripts/evaluator.py:170:26: RUF003 Comment contains ambiguous `’` (RIGHT SINGLE QUOTATION MARK). Did you mean ``` (GRAVE ACCENT)?
Ruff (RUF005): scripts/evaluator.py#L148
scripts/evaluator.py:148:17: RUF005 Consider `[*z[:open_], str(result), *z[close + 1:]]` instead of concatenation
Ruff (C901): scripts/evaluator.py#L32
scripts/evaluator.py:32:5: C901 `evaluate` is too complex (29 > 17)