Skip to content

Commit

Permalink
Move pytest configuration to pyproject.toml
Browse files Browse the repository at this point in the history
Signed-off-by: Fabrice Normandin <fabrice.normandin@gmail.com>
  • Loading branch information
lebrice committed Jan 30, 2025
1 parent 624c3fa commit 4ed6f83
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ source = "uv-dynamic-versioning"
[tool.ruff]
line-length = 99

[tool.pytest]
addopts = ["--doctest-modules", "--benchmark-autosave"]
testpaths = ["test", "simple_parsing"]
norecursedirs = ["examples", "docs"]

[tool.ruff.lint]
select = ["I", "UP"]
# TODO: Fix the imports in __init__.py files and enable these:
Expand Down
4 changes: 0 additions & 4 deletions pytest.ini

This file was deleted.

0 comments on commit 4ed6f83

Please sign in to comment.