mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-25 07:19:41 -05:00
circleci tweaks
This commit is contained in:
parent
d40351e0af
commit
67d75826ae
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user