28 lines
631 B
TOML
Executable file
28 lines
631 B
TOML
Executable file
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = ["test_*.py"]
|
|
python_functions = ["test_*"]
|
|
asyncio_mode = "auto"
|
|
addopts = "-v --tb=short"
|
|
|
|
[tool.coverage.run]
|
|
source = ["."]
|
|
omit = ["tests/*", "__pycache__/*", ".venv/*"]
|
|
|
|
[tool.coverage.report]
|
|
exclude_lines = [
|
|
"pragma: no cover",
|
|
"if __name__ == .__main__.:",
|
|
"raise NotImplementedError",
|
|
]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
select = ["E", "F", "W", "I"]
|
|
ignore = ["E501"]
|
|
exclude = [".venv", "__pycache__", "cache", "static"]
|
|
|
|
[tool.mypy]
|
|
python_version = "3.11"
|
|
ignore_missing_imports = true
|
|
disallow_untyped_defs = false
|