Skip to content

Commit 3738610

Browse files
authored
chore: exclude .nox directories from linting (#885)
The samples tests create `.nox` directories with all dependencies installed. These directories should be excluded from linting. I've tested this change locally, and it significantly speeds up linting on my machine.
1 parent 363fe30 commit 3738610

File tree

1 file changed

+1
-0
lines changed
  • synthtool/gcp/templates/python_library

1 file changed

+1
-0
lines changed

synthtool/gcp/templates/python_library/.flake8

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ exclude =
2626
*_pb2.py
2727

2828
# Standard linting exemptions.
29+
**/.nox/**
2930
__pycache__,
3031
.git,
3132
*.pyc,

0 commit comments

Comments
 (0)