summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorSteve Dignam <sbdchd@users.noreply.github.com>2020-08-13 22:09:30 -0400
committerGitHub <noreply@github.com>2020-08-13 21:09:30 -0500
commitf9066e2be5881a39f0048a86987728df4fd9f773 (patch)
treefe2569b54e3baa1ce79fee15f3c1fe6db33ad0bc /tox.ini
parentf3c255ca158182d024fa02e358e45a886886c2e7 (diff)
downloadpy-bcrypt-git-f9066e2be5881a39f0048a86987728df4fd9f773.tar.gz
add: type hints to top level functions (#218)
* WIP: add type hints to top level functions TODO: - see if mypy picks up types when installing in new project - setup mypy in CI fixes https://github.com/pyca/bcrypt/issues/215 * add mypy to ci & move py.typed to correct folder? * try and get mypy to run in CI * run mypy in travis? * use mypy defaults for python_version and platform https://mypy.readthedocs.io/en/stable/config_file.html#platform-configuration * update change log with changes
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini8
1 files changed, 7 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 3438053..717c8a0 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-envlist = pypy3,py36,py37,py38,pep8,packaging
+envlist = pypy3,py36,py37,py38,pep8,packaging,mypy
isolated_build = True
[testenv]
@@ -21,6 +21,12 @@ commands =
flake8 .
black --check .
+[testenv:mypy]
+deps =
+ mypy
+commands =
+ mypy src/bcrypt
+
[testenv:packaging]
deps =
check-manifest