Run flake8 on all wscript files and on jack_control
.github/workflows/lint.yml: Ensure that flake8 in CI is run on all wscript files and on jack_control.
This commit is contained in:
parent
88102ec4a7
commit
b5ca229866
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
name: Test files
|
name: Test wscript files
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -17,6 +17,6 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install flake8
|
sudo apt-get install flake8 findutils
|
||||||
- name: Lint with flake8
|
- name: Lint with flake8
|
||||||
run: flake8
|
run: find . -type f \( -iname wscript -or -iname jack_control \) -exec flake8 {} \;
|
||||||
|
|
Loading…
Reference in New Issue