Add mypy.ini configuration

pull/336/head
Kieran Prasch 2018-06-28 16:49:31 -07:00
parent df6edd47c5
commit ec9704a081
2 changed files with 7 additions and 2 deletions

View File

@ -137,6 +137,6 @@ jobs:
key: v1-deps-{{ .Environment.CIRCLE_WORKFLOW_ID }}-{{ checksum "Pipfile" }}
- run:
name: Run Mypy Static Type Checks
command: pipenv run mypy --xslt-html-report ./mypy_report ./nucypher
command: pipenv run mypy --xslt-html-report ./mypy_report ./nucypher --config-file=mypy.ini
- store_artifacts:
path: ./mypy_report

View File

@ -1,2 +1,7 @@
[mypy]
ignore_missing_imports=True
python_version=3.6
verbosity=0
[mypy-nucypher.*]
disallow_untyped_defs=True
check_untyped_defs=False
disallow_untyped_calls=True