Skip to content

Commit 38ada44

Browse files
authored
moving the pytest configuration from setup.cfg to pyproject.toml (#67)
1 parent 2241b33 commit 38ada44

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,7 @@ exclude = '''
3838
profile = "black"
3939
skip_gitignore = "True"
4040
verbose = "True"
41+
42+
[tool.pytest.ini_options]
43+
addopts = "-ra -v --doctest-modules"
44+
testpaths = ["stratify/"]

setup.cfg

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,3 @@ dev =
4848
codecov
4949
release =
5050
twine
51-
52-
[tool:pytest]
53-
testpaths =
54-
stratify/
55-
addopts =
56-
-ra
57-
-v
58-
--doctest-modules
59-
doctest_optionflags = NORMALIZE_WHITESPACE ELLIPSIS NUMBER

0 commit comments

Comments
 (0)