Skip to content

Commit 331af87

Browse files
committed
Configure pytest to work with version_helper file
1 parent 59f7e12 commit 331af87

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ dynamic = ["version"]
2828
test = [
2929
"pytest>=8.3.4",
3030
"pytest-xdist>=1.22.3",
31+
"pdm-backend>=2.4.3",
3132
]
3233
docs = [
3334
"sphinx>=7",
@@ -46,4 +47,7 @@ source = "scm"
4647
tag_filter = "v*"
4748
version_format = "src.version_helper:format_version"
4849
write_to = "QuantSI/_version.py"
49-
write_template = "__version__ = '{}'"
50+
write_template = "__version__ = '{}'"
51+
52+
[tool.pytest.ini_options]
53+
addopts = "-ra"

0 commit comments

Comments
 (0)