mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Update `.ruff.toml` post-move
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
[tool.ruff]
|
||||
target-version = "py39" # Pin Ruff to Python 3.9
|
||||
line-length = 95
|
||||
show-source = true
|
||||
@@ -190,7 +189,7 @@ select = [
|
||||
"E275", # Missing whitespace after keyword
|
||||
]
|
||||
|
||||
[tool.ruff.per-file-ignores]
|
||||
[per-file-ignores]
|
||||
"doc/conf.py" = ["INP001"]
|
||||
"doc/development/tutorials/examples/*" = ["INP001"]
|
||||
# allow print() in the tutorial
|
||||
@@ -228,5 +227,5 @@ select = [
|
||||
# whitelist ``print`` for stdout messages
|
||||
"utils/*" = ["T201"]
|
||||
|
||||
[tool.ruff.flake8-quotes]
|
||||
[flake8-quotes]
|
||||
inline-quotes = "single"
|
||||
|
||||
Reference in New Issue
Block a user