mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-23 15:13:31 +00:00
Allow ruff to auto-fix trailing spaces in multi-line comments (#19221)
This commit is contained in:
1 parent
db975ea10d
commit
b7e592a88c
2 files changed
+3
No files matched your search
@@ -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