cd0b9d9c96
Also tell coverage how to behave
28 lines
694 B
TOML
28 lines
694 B
TOML
[project]
|
|
name = "PACKAGENAME"
|
|
dynamic = ["version"]
|
|
|
|
# Dependencies are kept in requirements/*.in and compiled using
|
|
# pip-compile-multi. Maybe at some point pip-compile-multi will support reading
|
|
# requirements from pyproject.toml. At this point in time, the issue is still
|
|
# open: https://github.com/peterdemin/pip-compile-multi/issues/283
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.pytest.ini_options]
|
|
pythonpath = ["src"]
|
|
testpaths = ["tests"]
|
|
|
|
[tool.coverage.run]
|
|
branch = true
|
|
data_file = "coverage/.coverage"
|
|
source = ["src"]
|
|
omit = ["*/migrations/*"]
|
|
|
|
[tool.coverage.html]
|
|
directory = "coverage/htmlcov"
|
|
|
|
[tool.coverage.report]
|
|
skip_empty = true
|