Replace lstrip() with removeprefix() to fix Ruff linter warning (#2958)
This commit is contained in:
@@ -33,8 +33,6 @@ ignore = [
|
||||
"F405", "F403",
|
||||
# lambda expression assignment
|
||||
"E731",
|
||||
# .strip() with multi-character strings
|
||||
"B005",
|
||||
# Loop control variable not used within loop body
|
||||
"B007",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user