From bee50b544b4c801f7a74d43d1afc29b7aed54f8c Mon Sep 17 00:00:00 2001 From: Norbert Schulz Date: Wed, 28 Aug 2024 18:03:45 +0200 Subject: [PATCH] Create main.yml for py linting. --- .github/workflows/main.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..33c1f74 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,18 @@ +name: Python Lint with flake8 + +on: [push, pull_request] + +jobs: + flake8-lint: + runs-on: ubuntu-latest + name: Lint + steps: + - name: Check out source repository + uses: actions/checkout@v3 + - name: Set up Python environment + uses: actions/setup-python@v4 + with: + python-version: "3.12" + max-line-length: "120" + - name: flake8 + uses: py-actions/flake8@v2