From 7da5c9df41c00f5e87fd1ca116e0aaf95336f97f Mon Sep 17 00:00:00 2001 From: Tim Swast Date: Mon, 21 Dec 2020 12:11:48 -0600 Subject: [PATCH] chore: exclude .nox directories from linting 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. --- synthtool/gcp/templates/python_library/.flake8 | 1 + 1 file changed, 1 insertion(+) diff --git a/synthtool/gcp/templates/python_library/.flake8 b/synthtool/gcp/templates/python_library/.flake8 index ed9316381..29227d4cf 100644 --- a/synthtool/gcp/templates/python_library/.flake8 +++ b/synthtool/gcp/templates/python_library/.flake8 @@ -26,6 +26,7 @@ exclude = *_pb2.py # Standard linting exemptions. + **/.nox/** __pycache__, .git, *.pyc,