Skip to content

Commit

Permalink
chore: exclude .nox directories from linting (#885)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tswast committed Dec 22, 2020
1 parent 363fe30 commit 3738610
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions synthtool/gcp/templates/python_library/.flake8
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ exclude =
*_pb2.py

# Standard linting exemptions.
**/.nox/**
__pycache__,
.git,
*.pyc,
Expand Down

0 comments on commit 3738610

Please sign in to comment.