Skip to content

Commit

Permalink
Run type checker in lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kislyuk committed Dec 2, 2019
1 parent c6b7dec commit 04b5d0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
test_deps:
pip install coverage flake8 wheel
pip install coverage flake8 wheel mypy

lint: test_deps
./setup.py flake8
if [[ $$(python --version 2>&1) > "Python 3.5" ]]; then mypy $$(python setup.py --name) --ignore-missing-imports; fi

test: test_deps lint
coverage run --source=$$(python setup.py --name) ./test/test.py
Expand Down

0 comments on commit 04b5d0e

Please sign in to comment.