diff --git a/.github/workflows/linting.yaml b/.github/workflows/linting.yaml index 181fae4023176ab1307e941aefe2c0ca6e452e7b..4e9c69a121ef0b5ed7a94af4575a272ee98a5028 100644 --- a/.github/workflows/linting.yaml +++ b/.github/workflows/linting.yaml @@ -1,4 +1,4 @@ -name: Python linting +name: Linting on: [push, pull_request] @@ -27,6 +27,7 @@ jobs: - 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 + #flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + flake8 . --count --max-line-length=79 --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 --exit-zero --max-complexity=10 --max-line-length=127 --statistics