Travis CI: Flake8 spots some missing imports

This commit is contained in:
cclauss
2018-07-25 12:04:23 +02:00
committed by GitHub
parent 6fd1e03364
commit 4f89f3d19d
+6
View File
@@ -71,6 +71,12 @@ before_install:
fi
install:
- bash ./scripts/ci/install.sh
- pip install flake8
before_script:
# stop the build if there are Python syntax errors or undefined names
- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
script:
- bash ./scripts/ci/script.sh
deploy: