From 7fc56bec2caa63673fc73c3522dc8348935ed7bc Mon Sep 17 00:00:00 2001 From: Finn Christiansen Date: Sun, 9 Jun 2024 21:33:31 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20add=20PEP8=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/python-pep8.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .gitea/workflows/python-pep8.yaml diff --git a/.gitea/workflows/python-pep8.yaml b/.gitea/workflows/python-pep8.yaml new file mode 100644 index 0000000..71aadea --- /dev/null +++ b/.gitea/workflows/python-pep8.yaml @@ -0,0 +1,21 @@ +name: Python formatting PEP8 +run-name: ${{ gitea.actor }} is running PEP8 check +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: | + flake8 --extend-exclude bin,lib .