Skip to content

Commit b5953b4

Browse files
committed
pyproject(pytest,doctest) Use list, reruns
1 parent 5d03564 commit b5953b4

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

pyproject.toml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,18 @@ convention = "numpy"
213213
"*/__init__.py" = ["F401"]
214214

215215
[tool.pytest.ini_options]
216-
addopts = "--tb=short --no-header --showlocals --doctest-modules"
217-
doctest_optionflags = "ELLIPSIS NORMALIZE_WHITESPACE"
216+
addopts = [
217+
"--tb=short",
218+
"--no-header",
219+
"--showlocals",
220+
"--doctest-docutils-modules",
221+
"-p no:doctest",
222+
"--reruns=2"
223+
]
224+
doctest_optionflags = [
225+
"ELLIPSIS",
226+
"NORMALIZE_WHITESPACE"
227+
]
218228
testpaths = [
219229
"src/libvcs",
220230
"tests",

0 commit comments

Comments
 (0)