Skip to content

Commit ba5139e

Browse files
authored
Move pytest configuration to pyproject.toml (#341)
Signed-off-by: Fabrice Normandin <[email protected]>
1 parent 624c3fa commit ba5139e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

pyproject.toml

+5
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ source = "uv-dynamic-versioning"
2424
[tool.ruff]
2525
line-length = 99
2626

27+
[tool.pytest]
28+
addopts = ["--doctest-modules", "--benchmark-autosave"]
29+
testpaths = ["test", "simple_parsing"]
30+
norecursedirs = ["examples", "docs"]
31+
2732
[tool.ruff.lint]
2833
select = ["I", "UP"]
2934
# TODO: Fix the imports in __init__.py files and enable these:

pytest.ini

-4
This file was deleted.

0 commit comments

Comments
 (0)