rpi-rgb/.gitea/workflows/python-pep8.yaml
Finn Christiansen 34869c6fa1
Some checks reported warnings
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
Python formatting PEP8 / Pyhton-PEP8 (push) Has been cancelled
try fixed ubuntu and python version
2023-05-28 18:12:12 +01:00

23 lines
525 B
YAML

name: Python formatting PEP8
run-name: ${{ gitea.actor }} is running PEP8 check
on: [push]
jobs:
Pyhton-PEP8:
runs-on: ubuntu:22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: https://github.com/actions/setup-python@v4
with:
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
- name: Run checking
run: |
flake8 --extend-exclude bin,lib .