Allow ruff to auto-fix trailing spaces in multi-line comments (#19221)

This commit is contained in:
Andrew Morgan authored and GitHub committed 2025-11-25 14:09:48 +00:00
1 parent db975ea10d
commit b7e592a88c
2 files changed
+3

No files matched your search

+1
View File
@@ -0,0 +1 @@
Auto-fix trailing spaces in multi-line strings and comments when running the lint script.
+2
View File
@@ -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]