From 81af4c08e8252458e0225f76c085baeefec76a32 Mon Sep 17 00:00:00 2001 From: Jack Betteridge Date: Tue, 5 May 2026 15:35:44 +0100 Subject: [PATCH] misc: Move pytest.ini to pyproject.toml --- pyproject.toml | 5 +++++ pytest.ini | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 pytest.ini 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