Skip to content

i have added a fubnction checking if an integer is a palindrome or not #11682

i have added a fubnction checking if an integer is a palindrome or not

i have added a fubnction checking if an integer is a palindrome or not #11682

Triggered via pull request October 28, 2024 12:13
Status Failure
Total duration 17s
Artifacts

ruff.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (W293): strings/palindrome.py#L105
strings/palindrome.py:105:1: W293 Blank line contains whitespace
Ruff (E501): strings/palindrome.py#L106
strings/palindrome.py:106:89: E501 Line too long (146 > 88)
Ruff (E501): strings/palindrome.py#L107
strings/palindrome.py:107:89: E501 Line too long (112 > 88)
Ruff (N802): strings/palindrome.py#L108
strings/palindrome.py:108:5: N802 Function name `isPalindrome` should be lowercase
Ruff (N803): strings/palindrome.py#L108
strings/palindrome.py:108:18: N803 Argument name `N` should be lowercase
Ruff (E501): strings/palindrome.py#L108
strings/palindrome.py:108:89: E501 Line too long (92 > 88)
Ruff (W291): strings/palindrome.py#L114
strings/palindrome.py:114:59: W291 Trailing whitespace
Ruff (N806): strings/palindrome.py#L115
strings/palindrome.py:115:9: N806 Variable `N` in function should be lowercase
Ruff (W291): strings/palindrome.py#L115
strings/palindrome.py:115:18: W291 Trailing whitespace
Ruff (SIM103): strings/palindrome.py#L117
strings/palindrome.py:117:5: SIM103 Return the condition directly