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

This commit is contained in:
Andrew Morgan
2025-11-25 14:09:48 +00:00
committed by GitHub
parent db975ea10d
commit b7e592a88c
2 changed files with 3 additions and 0 deletions

1
changelog.d/19221.misc Normal file
View File

@@ -0,0 +1 @@
Auto-fix trailing spaces in multi-line strings and comments when running the lint script.

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]