CI: Add Pyflakes to lints workflow

This commit is contained in:
Jack Grigg 2021-11-18 14:45:39 +00:00
parent c4b2ef7c4e
commit 9fd44c76fa
1 changed files with 16 additions and 4 deletions

View File

@ -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