updated ruff rules
This commit is contained in:
25
ruff.toml
25
ruff.toml
@@ -1,14 +1,29 @@
|
|||||||
line-length = 88
|
line-length = 100
|
||||||
target-version = "py312"
|
target-version = "py312"
|
||||||
|
|
||||||
|
[format]
|
||||||
|
quote-style = "single"
|
||||||
|
indent-style = "space"
|
||||||
|
|
||||||
[lint]
|
[lint]
|
||||||
exclude = [
|
exclude = [
|
||||||
"conf/apps/simple_app/malformed.py"
|
"conf/apps/simple_app/malformed.py"
|
||||||
]
|
]
|
||||||
|
|
||||||
select = ["ALL"]
|
select = ["ALL"]
|
||||||
extend-ignore = ["ANN", "D", "E501", "COM812", "ERA001", "S101", "INP001"]
|
extend-ignore = [
|
||||||
|
"ANN",
|
||||||
|
"BLE001",
|
||||||
|
"COM812",
|
||||||
|
"D",
|
||||||
|
"E501",
|
||||||
|
"ERA001",
|
||||||
|
"INP001",
|
||||||
|
"S101",
|
||||||
|
]
|
||||||
|
|
||||||
[format]
|
|
||||||
quote-style = "single"
|
[lint.flake8-quotes]
|
||||||
indent-style = "space"
|
inline-quotes = "single"
|
||||||
|
docstring-quotes = "double"
|
||||||
|
multiline-quotes = "double"
|
||||||
|
|||||||
Reference in New Issue
Block a user