From 3cbc455d106fec42e57ed2aa541fe548501383d8 Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Mon, 11 Oct 2021 13:41:56 +0100 Subject: [PATCH] flake8 ci added --- .github/workflows/flake8.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/flake8.yml diff --git a/.github/workflows/flake8.yml b/.github/workflows/flake8.yml new file mode 100644 index 00000000..91d2770e --- /dev/null +++ b/.github/workflows/flake8.yml @@ -0,0 +1,21 @@ +name: flake8 Lint + +on: [push, pull_request] + +jobs: + flake8-lint: + runs-on: ubuntu-latest + name: Lint + steps: + - name: Check out source repository + uses: actions/checkout@v2 + - name: Set up Python environment + uses: actions/setup-python@v1 + with: + python-version: "3.8" + - name: flake8 Lint + uses: py-actions/flake8@v1 + with: + ignore: "E501" + exclude: "pyerrors/__init__.py" + path: "pyerrors"