From b2e8c8bd7ac04ce6c1a86b552f1e68973cb06432 Mon Sep 17 00:00:00 2001 From: hygienic-books Date: Mon, 2 May 2022 01:03:49 +0200 Subject: [PATCH] refactor(meta): Move pytest config into 'pyproject.toml' --- pyproject.toml | 7 ++++++- pytest.ini | 4 ---- 2 files changed, 6 insertions(+), 5 deletions(-) delete mode 100644 pytest.ini diff --git a/pyproject.toml b/pyproject.toml index b1e6e34..1dbf2b2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,4 +56,9 @@ # [tool.towncrier.fragment.deprecation] # [tool.towncrier.fragment.remove] # [tool.towncrier.fragment.trivial] -# [tool.towncrier.fragment.meta] \ No newline at end of file +# [tool.towncrier.fragment.meta] + +[tool.pytest.ini_options] + python_files = "test_*" + python_classes = "*Tests" + python_function = "test_*" \ No newline at end of file diff --git a/pytest.ini b/pytest.ini deleted file mode 100644 index 81d95c6..0000000 --- a/pytest.ini +++ /dev/null @@ -1,4 +0,0 @@ -[pytest] -python_files = test_* -python_classes = *Tests -python_function = test_* \ No newline at end of file