From 3c4793addc46d9858f00156630c0bd40ba44cefc Mon Sep 17 00:00:00 2001 From: "Kieran R. Prasch" Date: Sat, 1 Sep 2018 06:40:41 -0700 Subject: [PATCH] Enforce mypy checks --- .circleci/config.yml | 2 +- mypy.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 14f8fc62d..369b73b43 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -171,7 +171,7 @@ jobs: command: | mkdir ./mypy_reports ./mypy_results export MYPYPATH=./nucypher - pipenv run mypy ./nucypher --config-file=mypy.ini --xslt-html-report ./mypy_reports/html/ --linecount-report ./mypy_reports/linecount --junit-xml ./mypy_results/results.xml || true + pipenv run mypy ./nucypher --config-file=mypy.ini --xslt-html-report ./mypy_reports/html/ --linecount-report ./mypy_reports/linecount --junit-xml ./mypy_results/results.xml - store_artifacts: path: ./mypy_reports - store_test_results: diff --git a/mypy.ini b/mypy.ini index f556cad02..8c5fcf0fd 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,7 +1,7 @@ [mypy] + python_version=3.6 verbosity=0 -[mypy-nucypher.*] disallow_untyped_defs=False check_untyped_defs=False disallow_untyped_calls=False