Skip to content

Commit 6b684c1

Browse files
committed
fix: exclude .venv from flake
1 parent 5c45b42 commit 6b684c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/python-package.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
- name: Lint with flake8
2626
run: |
2727
# stop the build if there are Python syntax errors or undefined names
28-
uv run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
28+
uv run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=.venv
2929
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
30-
uv run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
30+
uv run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude=.venv
3131
- name: Test with pytest
3232
run: uv run pytest
3333

0 commit comments

Comments
 (0)