From 4d2e99979ca0aededa854ab9583c5e28986a184e Mon Sep 17 00:00:00 2001 From: Ben Woskow <48036130+bwoskow-ld@users.noreply.github.com> Date: Thu, 4 Feb 2021 16:39:52 -0800 Subject: [PATCH] Pinning mypy and running it against different python versions (#141) --- .circleci/config.yml | 3 +-- mypy.ini | 3 +-- test-requirements.txt | 3 ++- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 87453577..f33121db 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -86,9 +86,8 @@ jobs: - run: name: verify typehints command: | - pip install mypy export PATH="/home/circleci/.local/bin:$PATH" - mypy --config-file mypy.ini --python-version 3.5 ldclient/*.py testing/*.py + mypy --config-file mypy.ini ldclient testing - store_test_results: path: test-reports - store_artifacts: diff --git a/mypy.ini b/mypy.ini index d345df18..e886c085 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,3 +1,2 @@ [mypy] -ignore_missing_imports = true -python_version = 3.5 +ignore_missing_imports = true \ No newline at end of file diff --git a/test-requirements.txt b/test-requirements.txt index d73c173e..1f80fcc7 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -6,4 +6,5 @@ coverage>=4.4 jsonpickle==0.9.3 pytest-cov>=2.4.0 codeclimate-test-reporter>=0.2.1 -pytest-mypy==0.7 \ No newline at end of file +pytest-mypy==0.7 +mypy==0.800 \ No newline at end of file