[CI] only one flake8 call; added success message
Some checks failed
Python Lint & Test / build (push) Failing after 16s
Some checks failed
Python Lint & Test / build (push) Failing after 16s
This commit is contained in:
parent
3b79d0e9a6
commit
bfaaf74395
@ -30,7 +30,5 @@ jobs:
|
|||||||
if [ -f requirements-test.txt ]; then pip install -r requirements-test.txt; fi
|
if [ -f requirements-test.txt ]; then pip install -r requirements-test.txt; fi
|
||||||
- name: Lint with flake8
|
- name: Lint with flake8
|
||||||
run: |
|
run: |
|
||||||
# stop the build if there are Python syntax errors or undefined names
|
|
||||||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
|
||||||
# The GitHub editor is 127 chars wide
|
# The GitHub editor is 127 chars wide
|
||||||
flake8 . --count --max-complexity=10 --max-line-length=127 --statistics
|
flake8 . --count --max-complexity=10 --max-line-length=127 --statistics && echo "✅ flake8 didn't find any errors"
|
||||||
|
Loading…
Reference in New Issue
Block a user