2026-03-06 23:58:10 +01:00
|
|
|
[tool.ruff]
|
2026-03-09 22:01:32 +01:00
|
|
|
target-version = "py310"
|
2026-03-06 23:58:10 +01:00
|
|
|
line-length = 120
|
|
|
|
|
exclude = ["migrations", ".venv"]
|
|
|
|
|
|
|
|
|
|
[tool.ruff.lint]
|
|
|
|
|
select = ["E", "F", "I", "UP", "B", "SIM"]
|
|
|
|
|
ignore = ["B008"]
|
|
|
|
|
|
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
|
|
|
"tests/**" = ["E501"]
|
|
|
|
|
|
|
|
|
|
[tool.mypy]
|
2026-03-09 22:01:32 +01:00
|
|
|
python_version = "3.10"
|
2026-03-06 23:58:10 +01:00
|
|
|
strict = true
|
|
|
|
|
ignore_missing_imports = true
|
|
|
|
|
exclude = ["migrations", ".venv"]
|
|
|
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
|
|
|
asyncio_mode = "auto"
|
|
|
|
|
asyncio_default_fixture_loop_scope = "function"
|
|
|
|
|
testpaths = ["tests"]
|
|
|
|
|
addopts = "--tb=short -q"
|
|
|
|
|
|
|
|
|
|
[tool.coverage.run]
|
|
|
|
|
source = ["app"]
|
|
|
|
|
omit = ["*/migrations/*", "*/tests/*"]
|
2026-04-09 15:17:58 +02:00
|
|
|
concurrency = ["thread"]
|
|
|
|
|
core = "sysmon"
|
2026-03-09 01:32:31 +01:00
|
|
|
|
|
|
|
|
[tool.coverage.report]
|
|
|
|
|
skip_empty = true
|