Replace lstrip() with removeprefix() to fix Ruff linter warning (#2958)

This commit is contained in:
Ronen Schaffer
2024-03-15 21:01:30 -07:00
committed by GitHub
parent 3123f15138
commit 14e3f9a1b2
2 changed files with 11 additions and 6 deletions
-2
View File
@@ -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",
]