Skip to content

Commit 4d2e999

Browse files
authored
Pinning mypy and running it against different python versions (#141)
1 parent e5f6450 commit 4d2e999

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.circleci/config.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,8 @@ jobs:
8686
- run:
8787
name: verify typehints
8888
command: |
89-
pip install mypy
9089
export PATH="/home/circleci/.local/bin:$PATH"
91-
mypy --config-file mypy.ini --python-version 3.5 ldclient/*.py testing/*.py
90+
mypy --config-file mypy.ini ldclient testing
9291
- store_test_results:
9392
path: test-reports
9493
- store_artifacts:

mypy.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
[mypy]
2-
ignore_missing_imports = true
3-
python_version = 3.5
2+
ignore_missing_imports = true

test-requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ coverage>=4.4
66
jsonpickle==0.9.3
77
pytest-cov>=2.4.0
88
codeclimate-test-reporter>=0.2.1
9-
pytest-mypy==0.7
9+
pytest-mypy==0.7
10+
mypy==0.800

0 commit comments

Comments
 (0)