Initial typing support

This enables type checking in CI and marks the project as typed.
This commit is contained in:
pgjones 2021-04-23 09:44:15 +01:00
parent c791f6312b
commit f405c6f19e
7 changed files with 49 additions and 0 deletions

View file

@ -2,6 +2,7 @@
envlist =
py{39,38,37,36,py3}
style
typing
docs
skip_missing_interpreters = true
@ -24,6 +25,10 @@ deps = pre-commit
skip_install = true
commands = pre-commit run --all-files --show-diff-on-failure
[testenv:typing]
deps = -r requirements/typing.txt
commands = mypy
[testenv:docs]
deps =
-r requirements/docs.txt