more agressive lint checking in pipeline

This commit is contained in:
Daniel Bauer
2024-11-11 09:45:26 +01:00
parent 8b09f4feb5
commit bbf0527733
2 changed files with 4 additions and 4 deletions

View File

@@ -32,10 +32,7 @@ jobs:
python -m pip install -e '.[dev]'
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# 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 --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest