From 373861061648b5fe5e0ac4f8a38b32d639ee93e4 Mon Sep 17 00:00:00 2001 From: Tim Swast Date: Tue, 22 Dec 2020 13:04:04 -0600 Subject: [PATCH] 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. --- 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,