Exclude venv from flake8 and black in CI

This commit is contained in:
Russell Ballestrini 2026-01-11 11:52:40 -05:00
parent 532523e1b3
commit 237888a6ab

View file

@ -66,7 +66,7 @@ lint_syntax:
- pip install flake8
script:
- source venv/bin/activate
- flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
- flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=venv
# Lint - Style Warnings (non-blocking)
lint_style:
@ -79,6 +79,6 @@ lint_style:
- pip install black flake8
script:
- source venv/bin/activate
- black --check --diff . || true
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- black --check --diff --exclude=venv . || true
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude=venv
allow_failure: true