diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -5,7 +5,7 @@ [tox] envlist = - flake8, py35, py36, py37, py38, py39 + flake8, mypy, py36, py37, py38, py39 # Other valid evironments are: # docs # release @@ -52,6 +52,18 @@ commands = twine check dist/* skip_install = true +# Type checking +[testenv:mypy] +deps = + mypy + hypothesis + pytest + pytest-mock + fastnumbers +commands = + mypy --strict natsort tests +skip_install = true + # Build documentation. # sphinx and sphinx_rtd_theme not in docs/requirements.txt because they # will already be installed on readthedocs. |