rpi-rgb/.gitea/workflows/python-pep8.yaml

24 lines
480 B
YAML
Raw Normal View History

2023-05-28 18:06:13 +02:00
name: Python formatting PEP8
run-name: ${{ gitea.actor }} is running PEP8 check
on: [push]
2023-05-28 16:34:44 +02:00
2023-05-28 18:06:13 +02:00
jobs:
Pyhton-PEP8:
runs-on: ubuntu-latest
2023-05-28 16:34:44 +02:00
2023-05-28 18:06:13 +02:00
steps:
- name: Checkout
uses: actions/checkout@v3
2023-05-28 16:34:44 +02:00
- uses: https://github.com/actions/setup-python@v4
2023-05-28 18:06:13 +02:00
with:
python-version: 3.11
2023-05-28 18:06:13 +02:00
- name: Install dependencies
run: |
pip install flake8
- name: Run checking
run: |
flake8 --extend-exclude bin,lib .