2024-06-09 21:33:31 +02:00
|
|
|
name: Python formatting PEP8
|
2024-06-10 22:11:45 +02:00
|
|
|
run-name: ${{ forgejo.actor }} is running PEP8 check
|
2024-06-09 21:33:31 +02:00
|
|
|
on: [push]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
Python-PEP8:
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
|
|
|
apt-get update
|
|
|
|
apt-get install -y python3-pip
|
|
|
|
pip install flake8
|
|
|
|
|
|
|
|
- name: Run checking
|
|
|
|
run: |
|
2024-06-10 22:11:45 +02:00
|
|
|
flake8 --ignore=E501 --extend-exclude bin,lib .
|