This commit is contained in:
parent
4199b067d1
commit
00b87b040e
1 changed files with 19 additions and 0 deletions
19
.forgejo/workflows/python-pep8.yaml
Normal file
19
.forgejo/workflows/python-pep8.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
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 --ignore=E501 --extend-exclude bin,lib .
|
Loading…
Reference in a new issue