We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b9d34e commit 3b088c0Copy full SHA for 3b088c0
tooling/src/hypothesistooling/projects/hypothesispython.py
@@ -65,21 +65,19 @@ def has_source_changes():
65
return tools.has_changes([PYTHON_SRC])
66
67
68
-def build_docs(*, builder="html", only=[]):
+def build_docs(*, builder="html", only=()):
69
# See https://www.sphinx-doc.org/en/stable/man/sphinx-build.html
70
# (unfortunately most options only have the short flag version)
71
tools.scripts.pip_tool(
72
- *[
73
- "sphinx-build",
74
- "-W",
75
- "-T",
76
- "-E",
77
- "-b",
78
- builder,
79
- "docs",
80
- "docs/_build/" + builder,
81
- *only,
82
- ],
+ "sphinx-build",
+ "-W",
+ "-T",
+ "-E",
+ "-b",
+ builder,
+ "docs",
+ "docs/_build/" + builder,
+ *only,
83
cwd=HYPOTHESIS_PYTHON,
84
)
85
0 commit comments