From 526585236a293e774114f13dc57d70a2040744aa Mon Sep 17 00:00:00 2001 From: Daniele Nicolodi Date: Wed, 29 May 2024 21:12:01 +0200 Subject: [PATCH] Move pytest configuration to pyproject.toml --- pyproject.toml | 6 ++++++ pytest.ini | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) delete mode 100644 pytest.ini diff --git a/pyproject.toml b/pyproject.toml index c50fd2a..6e0ff00 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,3 +60,9 @@ lint.ignore = [ 'UP015', 'UP032', ] + +[tool.pytest.ini_options] +minversion = '6.0' +addopts = ['--doctest-glob=*.rst'] +doctest_optionflags = ['ELLIPSIS', 'NORMALIZE_WHITESPACE'] +testpaths = ['beangulp'] diff --git a/pytest.ini b/pytest.ini deleted file mode 100644 index 50af42e..0000000 --- a/pytest.ini +++ /dev/null @@ -1,3 +0,0 @@ -[pytest] -addopts = --doctest-glob=*.rst -doctest_optionflags = ELLIPSIS NORMALIZE_WHITESPACE