boost-dx-tutorial/pyproject.toml
bronsen cd0b9d9c96 [pytest] Tell it where tests are
Also tell coverage how to behave
2024-11-21 12:16:59 +01:00

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