diff options
author | Seth Morton <seth.m.morton@gmail.com> | 2021-10-24 09:49:39 -0700 |
---|---|---|
committer | Seth Morton <seth.m.morton@gmail.com> | 2021-10-24 09:49:39 -0700 |
commit | cd0520fc8e462643f59ef0bee77b509021b3108e (patch) | |
tree | 3e0854d23300f17eb6925c487b3dc39c978c1b33 /tox.ini | |
parent | 43b70f4f35e5575662df75922bd316fa7957e289 (diff) | |
download | natsort-cd0520fc8e462643f59ef0bee77b509021b3108e.tar.gz |
Add a mypy env to tox
This will enable typechecking during testing.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -5,7 +5,7 @@ [tox] envlist = - flake8, py35, py36, py37, py38, py39 + flake8, mypy, py35, py36, py37, py38, py39 # Other valid evironments are: # docs # release @@ -52,6 +52,14 @@ commands = twine check dist/* skip_install = true +# Type checking +[testenv:mypy] +deps = + mypy +commands = + mypy natsort +skip_install = true + # Build documentation. # sphinx and sphinx_rtd_theme not in docs/requirements.txt because they # will already be installed on readthedocs. |