File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -159,6 +159,7 @@ commands =
159159# Global settings
160160
161161check_untyped_defs = True
162+ disallow_any_generics = True
162163disallow_incomplete_defs = True
163164disallow_untyped_defs = True
164165no_implicit_optional = True
@@ -224,6 +225,46 @@ commands =
224225 APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED
225226
226227
228+ # #
229+ # Documentation
230+ # #
231+
232+ [testenv:docs]
233+
234+ description = build documentation
235+
236+ basepython = python3.8
237+
238+ deps =
239+ Sphinx ==2.2.1
240+ sphinx-rtd-theme ==0.4.3
241+
242+ commands =
243+ sphinx-build \
244+ -b html -d " {envtmpdir}/doctrees" \
245+ " {toxinidir}/docs" \
246+ " {toxworkdir}/docs/html"
247+
248+
249+ [testenv:docs-auto]
250+
251+ description = build documentation and rebuild automatically
252+
253+ basepython = python3.8
254+
255+ deps =
256+ Sphinx ==2.2.1
257+ sphinx-rtd-theme ==0.4.3
258+ sphinx-autobuild ==0.7.1
259+
260+ commands =
261+ sphinx-autobuild \
262+ -b html -d " {envtmpdir}/doctrees" \
263+ --host =localhost \
264+ " {toxinidir}/docs" \
265+ " {toxworkdir}/docs/html"
266+
267+
227268# #
228269# Packaging
229270# #
You can’t perform that action at this time.
0 commit comments