diff options
author | Steve Dignam <sbdchd@users.noreply.github.com> | 2020-08-13 22:09:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-13 21:09:30 -0500 |
commit | f9066e2be5881a39f0048a86987728df4fd9f773 (patch) | |
tree | fe2569b54e3baa1ce79fee15f3c1fe6db33ad0bc /tox.ini | |
parent | f3c255ca158182d024fa02e358e45a886886c2e7 (diff) | |
download | py-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.ini | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |