Update config lint

This commit is contained in:
Zakhar Izmaylov
2025-01-11 17:51:24 +03:00
parent 3e5edf18b3
commit d247ef81df
+15 -3
View File
@@ -5,13 +5,25 @@ target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP", "ANN", "ASYNC", "S", "BLE", "FBT", "B", "A", "C4", "DTZ", "T10", "ISC", "ICN", "G", "PIE"]
ignore = ["ANN101", "ANN102", "S101",'ANN201','ANN001','BLE001']
exclude = [
".git",
"venv",
"main.py",
"handlers/payments",
]
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
quote-style = "double"
indent-style = "tab"
[tool.darker]
src = ["."]
revision = "HEAD"
diff = false
check = false
check = false
exclude = [
".git",
"venv",
"main.py",
"handlers/payments",
]