ci: align backend lint checks
Some checks failed
CI / Backend (lint + tests + compose) (push) Has been cancelled
CI / Frontend (lint + type-check + build) (push) Has been cancelled

This commit is contained in:
Vadim Malanov
2026-06-14 20:14:49 +03:00
parent dba0484f5a
commit 2e76554188
14 changed files with 22 additions and 20 deletions

View File

@@ -90,7 +90,16 @@ target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "N", "PL", "RUF"]
ignore = ["E501", "PLR0913", "PLR2004"]
ignore = [
"E501",
"PLC0415", # optional/heavy imports are intentionally lazy in runtime and tests
"PLR0913",
"PLR2004",
"PLW0603", # lazy DB/session singletons are explicit module state
"RUF001", # Russian OCR/test strings intentionally contain Cyrillic characters
"RUF002",
"RUF100", # keep explanatory noqa markers for rules not enabled locally
]
[tool.pytest.ini_options]
testpaths = ["tests"]