Skip to content

Adding the function is_proth_number #11964

Adding the function is_proth_number

Adding the function is_proth_number #11964

Triggered via pull request November 27, 2024 14:56
Status Failure
Total duration 18s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Ruff (N802): maths/special_numbers/proth_number.py#L62
maths/special_numbers/proth_number.py:62:5: N802 Function name `isProthNumber` should be lowercase
Ruff (N806): maths/special_numbers/proth_number.py#L83
maths/special_numbers/proth_number.py:83:5: N806 Variable `N` in function should be lowercase
Ruff (N806): maths/special_numbers/proth_number.py#L84
maths/special_numbers/proth_number.py:84:5: N806 Variable `N` in function should be lowercase
Ruff (N806): maths/special_numbers/proth_number.py#L87
maths/special_numbers/proth_number.py:87:9: N806 Variable `N` in function should be lowercase
Ruff (SIM300): maths/special_numbers/proth_number.py#L89
maths/special_numbers/proth_number.py:89:12: SIM300 Yoda condition detected
Ruff (A001): maths/special_numbers/proth_number.py#L107
maths/special_numbers/proth_number.py:107:5: A001 Variable `list` is shadowing a Python builtin
ruff
Process completed with exit code 1.