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:
|
2023-05-28 19:12:12 +02:00
|
|
|
runs-on: ubuntu:22.04
|
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 18:15:54 +02:00
|
|
|
- uses: https://github.com/actions/setup-python@v4
|
2023-05-28 19:12:12 +02:00
|
|
|
with:
|
|
|
|
python-version: '3.9'
|
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 .
|