Skip to content

Commit 821ab1c

Browse files
committed
pyproject(pytest): Use list
To get this to work, a = was required between --reruns 2.
1 parent 3f880c6 commit 821ab1c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

pyproject.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,14 @@ convention = "numpy"
154154
"*/__init__.py" = ["F401"]
155155

156156
[tool.pytest.ini_options]
157-
addopts = "--tb=short --no-header --showlocals --doctest-docutils-modules -p no:doctest --reruns 2"
157+
addopts = [
158+
"--tb=short",
159+
"--no-header",
160+
"--showlocals",
161+
"--doctest-docutils-modules",
162+
"-p no:doctest",
163+
"--reruns=2"
164+
]
158165
doctest_optionflags = "ELLIPSIS NORMALIZE_WHITESPACE"
159166
testpaths = [
160167
"src/libtmux",

0 commit comments

Comments
 (0)