diff --git a/.github/workflows/syntax.yml b/.github/workflows/syntax.yml index eeb31851..ee5d5cc3 100644 --- a/.github/workflows/syntax.yml +++ b/.github/workflows/syntax.yml @@ -2,7 +2,7 @@ name: flake8 on: push: - branches: + branches: - main - dev pull_request: @@ -25,9 +25,6 @@ jobs: run: pip install flake8 - name: Syntax Error Check run: | - flake8 novelwriter --count --select=E9,F63,F7,F82 --show-source --statistics - flake8 tests --count --select=E9,F63,F7,F82 --show-source --statistics - - name: Coding Style Violations - run: | - flake8 novelwriter --count --max-line-length=99 --ignore E133,E221,E226,E228,E241,W503 --show-source --statistics - flake8 tests --count --max-line-length=99 --ignore E133,E221,E226,E228,E241,W503 --show-source --statistics + flake8 --version + flake8 novelwriter --count --show-source --statistics + flake8 tests --count --show-source --statistics diff --git a/.github/workflows/test_linux.yml b/.github/workflows/test_linux.yml index 346b8db5..b8705a02 100644 --- a/.github/workflows/test_linux.yml +++ b/.github/workflows/test_linux.yml @@ -2,7 +2,7 @@ name: Linux on: push: - branches: + branches: - main - dev pull_request: diff --git a/.github/workflows/test_mac.yml b/.github/workflows/test_mac.yml index 10fac337..36394f43 100644 --- a/.github/workflows/test_mac.yml +++ b/.github/workflows/test_mac.yml @@ -2,7 +2,7 @@ name: macOS on: push: - branches: + branches: - main - dev pull_request: diff --git a/.github/workflows/test_win.yml b/.github/workflows/test_win.yml index 42281a53..cea804e9 100644 --- a/.github/workflows/test_win.yml +++ b/.github/workflows/test_win.yml @@ -2,7 +2,7 @@ name: Windows on: push: - branches: + branches: - main - dev pull_request: