24 lines
418 B
TOML
24 lines
418 B
TOML
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
addopts = "-q --cov=app --cov-report=term-missing --cov-fail-under=80"
|
|
asyncio_mode = "auto"
|
|
|
|
[tool.coverage.run]
|
|
branch = true
|
|
source = ["app"]
|
|
|
|
[tool.coverage.report]
|
|
exclude_lines = [
|
|
"pragma: no cover",
|
|
"if TYPE_CHECKING:",
|
|
]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py311"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "B", "UP", "SIM"]
|
|
ignore = ["B008"]
|
|
|