👷 add PEP8 workflow
Some checks failed
Python formatting PEP8 / Python-PEP8 (push) Failing after 21s
Some checks failed
Python formatting PEP8 / Python-PEP8 (push) Failing after 21s
This commit is contained in:
parent
7d46f4923c
commit
7fc56bec2c
1 changed files with 21 additions and 0 deletions
21
.gitea/workflows/python-pep8.yaml
Normal file
21
.gitea/workflows/python-pep8.yaml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
name: Python formatting PEP8
|
||||||
|
run-name: ${{ gitea.actor }} is running PEP8 check
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Python-PEP8:
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y python3-pip
|
||||||
|
pip install flake8
|
||||||
|
|
||||||
|
- name: Run checking
|
||||||
|
run: |
|
||||||
|
flake8 --extend-exclude bin,lib .
|
Loading…
Reference in a new issue