Adding the function is_proth_number #11963
Annotations
10 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 (W293):
maths/special_numbers/proth_number.py#L82
maths/special_numbers/proth_number.py:82:1: W293 Blank line contains whitespace
|
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 (W291):
maths/special_numbers/proth_number.py#L89
maths/special_numbers/proth_number.py:89:22: W291 Trailing whitespace
|
Ruff (W293):
maths/special_numbers/proth_number.py#L90
maths/special_numbers/proth_number.py:90:1: W293 Blank line contains whitespace
|
Ruff (A001):
maths/special_numbers/proth_number.py#L109
maths/special_numbers/proth_number.py:109:5: A001 Variable `list` is shadowing a Python builtin
|
Ruff (W292):
maths/special_numbers/proth_number.py#L115
maths/special_numbers/proth_number.py:115:53: W292 No newline at end of file
|