Skip to content

Commit

Permalink
Debugging linting in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
derailed-dash committed Sep 13, 2024
1 parent a146c4b commit 32f05ec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,13 @@ jobs:
working-directory: ${{ matrix.app-folder }}
run: |
# stop the build if there are Python syntax errors or undefined names
echo "Running first flake8:"
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
echo "Flake8 exit code: $?"
echo "Running second flake8:"
# 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
echo "Flake8 exit code: $?"
- name: Test with pytest
working-directory: ${{ matrix.app-folder }}
Expand Down

0 comments on commit 32f05ec

Please sign in to comment.