circleci tweaks

This commit is contained in:
Miguel Jacq 2018-10-17 16:59:13 +11:00
parent d40351e0af
commit 67d75826ae
No known key found for this signature in database
GPG Key ID: EEA4341C6D97A0B6

View File

@ -33,11 +33,13 @@ jobs:
- run: - run:
name: run flask tests name: run flask tests
command: | command: |
. venv/bin/activate
# stop the build if there are Python syntax errors or undefined names # stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics 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 # 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 flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- run:
name: run tests name: run tests
command: | command: |
. venv/bin/activate . venv/bin/activate