Skip to content

Commit fcdfe37

Browse files
committed
pyproject: move pytest configuration to pyproject.toml
With pytest 6 this is now supported.
1 parent b0acce4 commit fcdfe37

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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)