mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-06 10:31:29 +08:00
Enable ruff RUF100 rule (#11337)
This commit is contained in:
@ -50,7 +50,7 @@ def palindromic_string(input_string: str) -> str:
|
||||
# does this string is ending after the previously explored end (that is r) ?
|
||||
# if yes the update the new r to the last index of this
|
||||
if j + k - 1 > r:
|
||||
l = j - k + 1 # noqa: E741
|
||||
l = j - k + 1
|
||||
r = j + k - 1
|
||||
|
||||
# update max_length and start position
|
||||
|
Reference in New Issue
Block a user