diff --git a/MANIFEST.in b/MANIFEST.in index 49dc944..5c6df2d 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -3,6 +3,5 @@ include README.md include NEWS include LICENSE.txt include Makefile -include pytest.ini graft docs exclude docs/__pycache__/* diff --git a/pyproject.toml b/pyproject.toml index dc75dfa..cec5d80 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,3 +57,7 @@ exclude_lines = [ "raise AssertionError", "raise NotImplementedError", ] + +[tool.pytest.ini_options] +addopts = "--doctest-modules --doctest-glob=*.rst --ignore=setup.py" +norecursedirs = ".git build" diff --git a/pytest.ini b/pytest.ini deleted file mode 100644 index c5beb19..0000000 --- a/pytest.ini +++ /dev/null @@ -1,3 +0,0 @@ -[pytest] -addopts = --doctest-modules --doctest-glob=*.rst --ignore=setup.py -norecursedirs = .git build