From ec9704a0814248a1f78cb3c1a50726978e3f21e3 Mon Sep 17 00:00:00 2001 From: Kieran Prasch Date: Thu, 28 Jun 2018 16:49:31 -0700 Subject: [PATCH] Add mypy.ini configuration --- .circleci/config.yml | 2 +- mypy.ini | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f6e9d6ba3..f761244e3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/mypy.ini b/mypy.ini index f7f2bd728..a4a5d89d5 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,2 +1,7 @@ [mypy] -ignore_missing_imports=True \ No newline at end of file +python_version=3.6 +verbosity=0 +[mypy-nucypher.*] +disallow_untyped_defs=True +check_untyped_defs=False +disallow_untyped_calls=True \ No newline at end of file