From 00b87b040eea864a94c934b91abbe869584c77cc Mon Sep 17 00:00:00 2001 From: Finn Christiansen Date: Fri, 11 Oct 2024 22:23:42 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Add=20Forgejo=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .forgejo/workflows/python-pep8.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .forgejo/workflows/python-pep8.yaml diff --git a/.forgejo/workflows/python-pep8.yaml b/.forgejo/workflows/python-pep8.yaml new file mode 100644 index 0000000..5b5621f --- /dev/null +++ b/.forgejo/workflows/python-pep8.yaml @@ -0,0 +1,19 @@ +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 --ignore=E501 --extend-exclude bin,lib .