add pep8 workflow
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 10s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 10s
This commit is contained in:
parent
ef4b486fe4
commit
0ae7d394f5
1 changed files with 18 additions and 0 deletions
18
.gitea/workflows/python-pep8.yaml
Normal file
18
.gitea/workflows/python-pep8.yaml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
python-pep8:
|
||||||
|
name: Python formatting PEP8
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: 3.9
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
pip install flake8
|
||||||
|
|
||||||
|
- name: Run checking
|
||||||
|
run: |
|
||||||
|
flake8 --extend-exclude bin,lib .
|
Loading…
Reference in a new issue