Skip to content

Commit 1417c40

Browse files
jellykeszybz
authored andcommitted
pyproject: move pytest configuration to pyproject.toml
With pytest 6 this is now supported.
1 parent b0acce4 commit 1417c40

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ include README.md
33
include NEWS
44
include LICENSE.txt
55
include Makefile
6-
include pytest.ini
76
graft docs
87
exclude docs/__pycache__/*

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,7 @@ exclude_lines = [
5757
"raise AssertionError",
5858
"raise NotImplementedError",
5959
]
60+
61+
[tool.pytest.ini_options]
62+
addopts = "--doctest-modules --doctest-glob=*.rst --ignore=setup.py"
63+
norecursedirs = ".git build"

pytest.ini

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)