mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Enable E241 (Multiple spaces after comma)
This commit is contained in:
parent
f1ee0b2951
commit
e3f0342932
@ -310,6 +310,7 @@ select = [
|
||||
"E227", # Missing whitespace around bitwise or shift operator
|
||||
"E228", # Missing whitespace around modulo operator
|
||||
"E231", # Missing whitespace after '{token}'
|
||||
"E241", # Multiple spaces after comma
|
||||
]
|
||||
|
||||
[tool.ruff.per-file-ignores]
|
||||
@ -318,6 +319,9 @@ select = [
|
||||
# allow print() in the tutorial
|
||||
"doc/development/tutorials/examples/recipe.py" = ["T201"]
|
||||
|
||||
# from .flake8
|
||||
"sphinx/*" = ["E241"]
|
||||
|
||||
# whitelist ``print`` for stdout messages
|
||||
"sphinx/cmd/build.py" = ["T201"]
|
||||
"sphinx/cmd/make_mode.py" = ["T201"]
|
||||
|
Loading…
Reference in New Issue
Block a user