Skip to content

Commit 04b5d0e

Browse files
committed
Run type checker in lint
1 parent c6b7dec commit 04b5d0e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
test_deps:
2-
pip install coverage flake8 wheel
2+
pip install coverage flake8 wheel mypy
33

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

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

0 commit comments

Comments
 (0)