From ae875a72697574890ab3bfd824c781ba9f6343c7 Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Sun, 11 Jan 2026 11:55:41 -0500 Subject: [PATCH] Exclude venv from flake8 and black in GitHub Actions --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1292b54..1dae03c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -81,16 +81,16 @@ jobs: - name: Check code formatting with black run: | - black --check --diff . + black --check --diff --exclude=venv . continue-on-error: true - name: Lint with flake8 (syntax errors) run: | # Stop the build if there are Python syntax errors or undefined names - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=venv - name: Lint with flake8 (style warnings) run: | # Exit-zero treats all errors as warnings - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude=venv continue-on-error: true