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:14:29 +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
|
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
2023-05-28 23:30:32 +02:00
|
|
|
apt-get install -y python3-pip
|
2023-05-28 18:06:13 +02:00
|
|
|
pip install flake8
|
|
|
|
|
|
|
|
- name: Run checking
|
|
|
|
run: |
|
|
|
|
flake8 --extend-exclude bin,lib .
|