Skip to content

Commit

Permalink
Pinning mypy and running it against different python versions (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoskow-ld authored Feb 5, 2021
1 parent e5f6450 commit 4d2e999
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 1 addition & 2 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
[mypy]
ignore_missing_imports = true
python_version = 3.5
ignore_missing_imports = true
3 changes: 2 additions & 1 deletion test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
pytest-mypy==0.7
mypy==0.800

0 comments on commit 4d2e999

Please sign in to comment.