👷 add PEP8 workflow
All checks were successful
Python formatting PEP8 / Python-PEP8 (push) Successful in 14s
ci / docker (push) Successful in 1m15s

This commit is contained in:
Finn Christiansen 2023-11-09 22:12:18 +01:00
parent 28073593d3
commit b961d4ac1a

View 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 .