summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml1
-rw-r--r--setup.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index fdc8395..96011ac 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,6 +14,7 @@ install:
script:
- py.test
+ - mypy glucometerutils
- python setup.py bdist_wheel
- pip install ./dist/glucometerutils-*.whl
- if [[ $PRE_COMMIT ]]; then pre-commit install; pre-commit run --all-files; fi
diff --git a/setup.py b/setup.py
index 3ac4a8f..441218d 100644
--- a/setup.py
+++ b/setup.py
@@ -70,7 +70,7 @@ setup(
"sdcodefree": ["construct", "pyserial"],
"td4277": ["construct", "pyserial", "hidapi"],
# Development and testing dependencies
- "dev": test_required + ["pre-commit"],
+ "dev": test_required + ["pre-commit", "mypy"],
},
entry_points={"console_scripts": ["glucometer=glucometerutils.glucometer:main"]},
cmdclass={"test": PyTestCommand,},