diff --git a/pyproject.toml b/pyproject.toml index c8627e0bf8..54b23e6973 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -69,6 +69,11 @@ exclude = ["binder", "docker", "docs", "tests", "examples"] [tool.setuptools_scm] fallback_version = "0+untagged" +[tool.pytest.ini_options] +python_files = ["test_*.py", "*_example.py", "example_*.py"] +addopts = "--durations=20 --maxfail=5" +filterwarnings = ["ignore::pytest.PytestCacheWarning"] + [tool.ruff] line-length = 90 diff --git a/pytest.ini b/pytest.ini deleted file mode 100644 index 9b122b0a2f..0000000000 --- a/pytest.ini +++ /dev/null @@ -1,5 +0,0 @@ -[pytest] -python_files = test_*.py *_example.py example_*.py -addopts = --durations=20 --maxfail=5 -filterwarnings = - ignore::pytest.PytestCacheWarning