Allow ruff to auto-fix trailing spaces in multi-line comments (#19221)
This commit is contained in:
1
changelog.d/19221.misc
Normal file
1
changelog.d/19221.misc
Normal file
@@ -0,0 +1 @@
|
||||
Auto-fix trailing spaces in multi-line strings and comments when running the lint script.
|
||||
@@ -269,6 +269,8 @@ extend-safe-fixes = [
|
||||
"UP007",
|
||||
# pyupgrade rules compatible with Python >= 3.10
|
||||
"UP045",
|
||||
# Allow ruff to automatically fix trailing spaces within a multi-line string/comment.
|
||||
"W293"
|
||||
]
|
||||
|
||||
[tool.ruff.lint.isort]
|
||||
|
||||
Reference in New Issue
Block a user