Skip to content

Commit 6ec492d

Browse files
authored
Merge pull request #2922 from devitocodes/JDBetteridge/pyproject
misc: Move pytest.ini to pyproject.toml
2 parents 7397940 + 81af4c0 commit 6ec492d

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)