update ruff options

This commit is contained in:
Kristofers Solo 2024-01-08 17:13:18 +02:00
parent 990c98f45e
commit 491886b134

View File

@ -44,8 +44,36 @@ warn_unreachable = true
warn_unused_configs = true
[tool.ruff]
extend-select = [
"B",
"BLE",
"C4",
"ERA",
"I",
"ICN",
"INP",
"ISC",
"N",
"NPY",
"PGH",
"PIE",
# "PTH",
"Q",
"RET",
"RSE",
"RUF",
"S",
"SIM",
"T20",
"TCH",
"TID",
"YTT",
]
show-fixes = true
line-length = 120
indent-width = 4
target-version = "py38"
[tool.ruff.lint]
extend-select = ["I"]