diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index e23aa9a..9ef9ed2 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -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 }}