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

22 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
- uses: https://github.com/actions/setup-python@v4
2023-05-28 18:06:13 +02:00
- name: Install dependencies
run: |
2023-05-28 18:58:43 +02:00
python -m pip install --upgrade pip
2023-05-28 18:06:13 +02:00
pip install flake8
- name: Run checking
run: |
flake8 --extend-exclude bin,lib .