Skip to content

Commit df7bd05

Browse files
committed
Force linter to fail ci check
1 parent 3188e8e commit df7bd05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/python-app.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Linting with flake8
4040
run: |
4141
# stop the build if there are Python syntax errors or undefined names
42-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
42+
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics || exit 1
4343
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
4444
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
4545

0 commit comments

Comments
 (0)