Add mypy.ini configuration

pull/177/head
Kieran Prasch 2018-06-28 16:13:25 -07:00
parent b222cdd93c
commit 223c32108c
3 changed files with 12 additions and 2 deletions

View File

@ -117,6 +117,6 @@ jobs:
name: Run Mypy Static Type Checks
command: |
pipenv install --dev --skip-lock lxml
pipenv run mypy --xslt-html-report ./mypy_report ./umbral
pipenv run mypy --xslt-html-report ./mypy_report ./umbral --config-file=mypy.ini
- store_artifacts:
path: ./mypy_report

3
.gitignore vendored
View File

@ -243,4 +243,5 @@ pip-selfcheck.json
# End of https://www.gitignore.io/api/vim,linux,macos,python,pycharm,virtualenv
.idea
.idea
/mypy_report/

9
mypy.ini Normal file
View File

@ -0,0 +1,9 @@
[mypy]
python_version=3.6
verbosity=1
[mypy-umbral.*]
disallow_untyped_defs=True
check_untyped_defs=False
disallow_untyped_calls=True
[mypy-umbral.openssl]
disallow_untyped_defs=False