CI: Add Pyflakes to lints workflow
This commit is contained in:
parent
c4b2ef7c4e
commit
9fd44c76fa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue