Skip to content

Commit 81af4c0

Browse files
committed
misc: Move pytest.ini to pyproject.toml
1 parent 3d5bb25 commit 81af4c0

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,11 @@ exclude = ["binder", "docker", "docs", "tests", "examples"]
6969
[tool.setuptools_scm]
7070
fallback_version = "0+untagged"
7171

72+
[tool.pytest.ini_options]
73+
python_files = ["test_*.py", "*_example.py", "example_*.py"]
74+
addopts = "--durations=20 --maxfail=5"
75+
filterwarnings = ["ignore::pytest.PytestCacheWarning"]
76+
7277
[tool.ruff]
7378
line-length = 90
7479

pytest.ini

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)