From 9fd44c76fad02cc82c9abb7420faa0daff1aeb97 Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Thu, 18 Nov 2021 14:45:39 +0000 Subject: [PATCH] CI: Add Pyflakes to lints workflow --- .github/workflows/lints.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lints.yml b/.github/workflows/lints.yml index d44001af5..d2347eac3 100644 --- a/.github/workflows/lints.yml +++ b/.github/workflows/lints.yml @@ -34,10 +34,6 @@ jobs: if: always() continue-on-error: true # Temporary until we get this passing - - name: Python UTF-8 encoding - run: ./test/lint/lint-python-utf8-encoding.sh - if: always() - - name: Shebang run: ./test/lint/lint-shebang.sh if: always() @@ -57,6 +53,22 @@ jobs: run: ./test/lint/lint-whitespace.sh if: always() + python: + name: Python + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install dependencies + run: sudo python3 -m pip install pyflakes + + - name: Pyflakes + run: pyflakes qa src zcutil + if: always() + + - name: UTF-8 encoding + run: ./test/lint/lint-python-utf8-encoding.sh + if: always() + rust-clippy: name: Clippy (1.54.0) runs-on: ubuntu-latest