Skip to content

Commit 387af6f

Browse files
committed
Add disallow_any_generics to the TODO list
1 parent 13fccdf commit 387af6f

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

tox.ini

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ commands =
159159
# Global settings
160160

161161
check_untyped_defs = True
162+
disallow_any_generics = True
162163
disallow_incomplete_defs = True
163164
disallow_untyped_defs = True
164165
no_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
##

0 commit comments

Comments
 (0)