From 33d4f99cae3e35ddf102c2d9c8bd863df4b9beb5 Mon Sep 17 00:00:00 2001 From: TheMagamed78 Date: Fri, 30 Jan 2026 17:15:15 +0100 Subject: [PATCH] chore: add linting workflow Add a basic GitHub Action to run flake8 linting on every push to ensure code quality and prevent syntax errors. --- .github/workflows/lint.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000..eddd6e00 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,17 @@ +name: Lint + +on: [push, pull_request] + +jobs: + flake8: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: '3.9' + - name: Install flake8 + run: pip install flake8 + - name: Run flake8 + run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics