Initial typing support
This enables type checking in CI and marks the project as typed.
This commit is contained in:
parent
c791f6312b
commit
f405c6f19e
7 changed files with 49 additions and 0 deletions
5
tox.ini
5
tox.ini
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue