Files
ViewIT/pyproject.toml

34 lines
622 B
TOML

[tool.pytest.ini_options]
addopts = "-q --cov=addon --cov-report=term-missing"
python_files = ["test_*.py"]
norecursedirs = ["scripts"]
markers = [
"live: real HTTP requests (set LIVE_TESTS=1 to run)",
"perf: performance benchmarks",
]
[tool.coverage.run]
source = ["addon"]
branch = true
omit = [
"*/__pycache__/*",
"addon/resources/*",
]
[tool.coverage.report]
show_missing = true
skip_empty = true
[tool.ruff]
line-length = 120
target-version = "py311"
extend-exclude = ["dist", ".venv"]
[tool.ruff.lint]
select = ["E", "F", "W"]
ignore = ["E501"]
[tool.black]
line-length = 120
target-version = ["py311"]