chg: [flake] Added exit-zero parameter.

This commit is contained in:
Cédric Bonhomme 2022-11-20 00:33:17 +01:00
parent 3eaa93e36c
commit 298acb7d57
No known key found for this signature in database
GPG key ID: A1CB94DE57B7A70D

View file

@ -29,7 +29,7 @@ jobs:
# stop the build if there are Python syntax errors or undefined names
poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
poetry run flake8 . --count --max-complexity=15 --max-line-length=127 --statistics
poetry run flake8 . --count --exit-zero --max-complexity=15 --max-line-length=127 --statistics
- name: Test with pytest
run: |