summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@flameeyes.com>2020-04-09 19:59:52 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-04-09 20:03:18 +0200
commitf39ce38b2f07643431142e65a1c49331ff32b8c7 (patch)
tree3d6d82a071c38510d064a6a118e06a3e580d3f5b
parentWhen no action is provided by user, print the help output instead. (diff)
downloadglucometerutils-f39ce38b2f07643431142e65a1c49331ff32b8c7.tar
glucometerutils-f39ce38b2f07643431142e65a1c49331ff32b8c7.tar.gz
glucometerutils-f39ce38b2f07643431142e65a1c49331ff32b8c7.tar.bz2
glucometerutils-f39ce38b2f07643431142e65a1c49331ff32b8c7.tar.lz
glucometerutils-f39ce38b2f07643431142e65a1c49331ff32b8c7.tar.xz
glucometerutils-f39ce38b2f07643431142e65a1c49331ff32b8c7.tar.zst
glucometerutils-f39ce38b2f07643431142e65a1c49331ff32b8c7.zip
Diffstat (limited to '')
-rw-r--r--.travis.yml6
-rw-r--r--setup.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index c5cc111..739ec0e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,10 +5,9 @@ language: python
matrix:
include:
- python: 3.7
- env: PRE_COMMIT=true
- python: 3.8
+ env: PRE_COMMIT=true PYTEST_OPTIONS="--mypy --flake8"
- python: 3.9-dev
- env: RUN_MYPY=false
install:
- pip install .[all]
@@ -20,6 +19,5 @@ addons:
- libudev-dev
script:
- - py.test
- - if [[ $RUN_MYPY != false ]]; then mypy glucometerutils reversing_tools; fi
+ - pytest $PYTEST_OPTIONS
- if [[ $PRE_COMMIT ]]; then pre-commit install; pre-commit run --all-files; fi
diff --git a/setup.py b/setup.py
index 689c00d..19b5f87 100644
--- a/setup.py
+++ b/setup.py
@@ -30,6 +30,8 @@ extras_require = {
"construct>=2.9",
"mypy",
"pre-commit",
+ "pytest-flake8",
+ "pytest-mypy",
"pytest-timeout>=1.3.0",
"pytest>=3.6.0",
],