Skip to content

Commit

Permalink
Configure pytest to work with version_helper file
Browse files Browse the repository at this point in the history
  • Loading branch information
mstimberg committed Feb 7, 2025
1 parent db6e0de commit 091fdb8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ dynamic = ["version"]
test = [
"pytest>=8.3.4",
"pytest-xdist>=1.22.3",
"pdm-backend>=2.4.3",
]
docs = [
"sphinx>=7",
Expand All @@ -46,4 +47,10 @@ source = "scm"
tag_filter = "v*"
version_format = "src.version_helper:format_version"
write_to = "QuantSI/_version.py"
write_template = "__version__ = '{}'"
write_template = "__version__ = '{}'"

[tool.pytest.ini_options]
addopts = "-ra"
testpaths = [
"QuantSI/tests",
]

0 comments on commit 091fdb8

Please sign in to comment.