chore(*): ruff, ty, pre-commit and make check for config.py

This commit is contained in:
hh
2026-08-28 02:20:36 +02:00
parent f7448729fa
commit e0a9af8d1a
7 changed files with 148 additions and 19 deletions
+38
View File
@@ -0,0 +1,38 @@
target-version = "py313"
[lint]
select = ["ALL"]
ignore = [
"D203",
"D212",
"COM812",
"T201",
"D1",
"PLC0415",
"ANN401",
"PLR0913",
"PLR2004",
"C901",
"PLR0911",
"PLR0912",
"CPY001",
"RUF001",
"RUF002",
"RUF003",
"S104",
"DTZ011",
]
unfixable = ["F401"]
[lint.per-file-ignores]
"config.py" = ["INP001"]
[lint.pydocstyle]
convention = "google"
[lint.isort]
split-on-trailing-comma = false
[format]
docstring-code-format = true
skip-magic-trailing-comma = true