[CI] fail on error
Some checks failed
Python Lint & Test / build (push) Failing after 22s

This commit is contained in:
Marius Alwan Meyer 2023-11-15 18:08:36 +01:00
parent a6fcfbb9de
commit 3b79d0e9a6

View File

@ -32,5 +32,5 @@ jobs:
run: | run: |
# 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=E9,F63,F7,F82 --show-source --statistics flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide # The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics flake8 . --count --max-complexity=10 --max-line-length=127 --statistics