From e82228f475b00e175395bf769a0020a9d6a08256 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Tue, 16 Sep 2025 11:19:36 +0000 Subject: [PATCH] chore: add samples directory to lint paths --- gapic/templates/noxfile.py.j2 | 4 ++-- tests/integration/goldens/asset/noxfile.py | 2 +- tests/integration/goldens/credentials/noxfile.py | 2 +- tests/integration/goldens/eventarc/noxfile.py | 2 +- tests/integration/goldens/logging/noxfile.py | 2 +- tests/integration/goldens/logging_internal/noxfile.py | 2 +- tests/integration/goldens/redis/noxfile.py | 2 +- tests/integration/goldens/redis_selective/noxfile.py | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/gapic/templates/noxfile.py.j2 b/gapic/templates/noxfile.py.j2 index a9c09b337e..b4a7b0c3e0 100644 --- a/gapic/templates/noxfile.py.j2 +++ b/gapic/templates/noxfile.py.j2 @@ -16,9 +16,9 @@ BLACK_VERSION = "black[jupyter]==23.7.0" ISORT_VERSION = "isort==5.11.0" {% if api.naming.module_namespace %} -LINT_PATHS = ["docs", "{{ api.naming.module_namespace[0] }}", "tests", "noxfile.py", "setup.py"] +LINT_PATHS = ["docs", "{{ api.naming.module_namespace[0] }}", "samples", "tests", "noxfile.py", "setup.py"] {% else %} -LINT_PATHS = ["docs", "{{ api.naming.versioned_module_name }}", "tests", "noxfile.py", "setup.py"] +LINT_PATHS = ["docs", "{{ api.naming.versioned_module_name }}", "samples", "tests", "noxfile.py", "setup.py"] {% endif %} ALL_PYTHON = [ diff --git a/tests/integration/goldens/asset/noxfile.py b/tests/integration/goldens/asset/noxfile.py index db793cd23e..c953fcc856 100755 --- a/tests/integration/goldens/asset/noxfile.py +++ b/tests/integration/goldens/asset/noxfile.py @@ -26,7 +26,7 @@ BLACK_VERSION = "black[jupyter]==23.7.0" ISORT_VERSION = "isort==5.11.0" -LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] +LINT_PATHS = ["docs", "google", "samples", "tests", "noxfile.py", "setup.py"] ALL_PYTHON = [ "3.7", diff --git a/tests/integration/goldens/credentials/noxfile.py b/tests/integration/goldens/credentials/noxfile.py index 9955f98f4f..ec55aab5d3 100755 --- a/tests/integration/goldens/credentials/noxfile.py +++ b/tests/integration/goldens/credentials/noxfile.py @@ -26,7 +26,7 @@ BLACK_VERSION = "black[jupyter]==23.7.0" ISORT_VERSION = "isort==5.11.0" -LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] +LINT_PATHS = ["docs", "google", "samples", "tests", "noxfile.py", "setup.py"] ALL_PYTHON = [ "3.7", diff --git a/tests/integration/goldens/eventarc/noxfile.py b/tests/integration/goldens/eventarc/noxfile.py index 30d3a401d1..230c3ef7ac 100755 --- a/tests/integration/goldens/eventarc/noxfile.py +++ b/tests/integration/goldens/eventarc/noxfile.py @@ -26,7 +26,7 @@ BLACK_VERSION = "black[jupyter]==23.7.0" ISORT_VERSION = "isort==5.11.0" -LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] +LINT_PATHS = ["docs", "google", "samples", "tests", "noxfile.py", "setup.py"] ALL_PYTHON = [ "3.7", diff --git a/tests/integration/goldens/logging/noxfile.py b/tests/integration/goldens/logging/noxfile.py index ea4d1e89e6..de846bf8c7 100755 --- a/tests/integration/goldens/logging/noxfile.py +++ b/tests/integration/goldens/logging/noxfile.py @@ -26,7 +26,7 @@ BLACK_VERSION = "black[jupyter]==23.7.0" ISORT_VERSION = "isort==5.11.0" -LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] +LINT_PATHS = ["docs", "google", "samples", "tests", "noxfile.py", "setup.py"] ALL_PYTHON = [ "3.7", diff --git a/tests/integration/goldens/logging_internal/noxfile.py b/tests/integration/goldens/logging_internal/noxfile.py index ea4d1e89e6..de846bf8c7 100755 --- a/tests/integration/goldens/logging_internal/noxfile.py +++ b/tests/integration/goldens/logging_internal/noxfile.py @@ -26,7 +26,7 @@ BLACK_VERSION = "black[jupyter]==23.7.0" ISORT_VERSION = "isort==5.11.0" -LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] +LINT_PATHS = ["docs", "google", "samples", "tests", "noxfile.py", "setup.py"] ALL_PYTHON = [ "3.7", diff --git a/tests/integration/goldens/redis/noxfile.py b/tests/integration/goldens/redis/noxfile.py index 9fa5bc7199..8542559a8c 100755 --- a/tests/integration/goldens/redis/noxfile.py +++ b/tests/integration/goldens/redis/noxfile.py @@ -26,7 +26,7 @@ BLACK_VERSION = "black[jupyter]==23.7.0" ISORT_VERSION = "isort==5.11.0" -LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] +LINT_PATHS = ["docs", "google", "samples", "tests", "noxfile.py", "setup.py"] ALL_PYTHON = [ "3.7", diff --git a/tests/integration/goldens/redis_selective/noxfile.py b/tests/integration/goldens/redis_selective/noxfile.py index 9fa5bc7199..8542559a8c 100755 --- a/tests/integration/goldens/redis_selective/noxfile.py +++ b/tests/integration/goldens/redis_selective/noxfile.py @@ -26,7 +26,7 @@ BLACK_VERSION = "black[jupyter]==23.7.0" ISORT_VERSION = "isort==5.11.0" -LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] +LINT_PATHS = ["docs", "google", "samples", "tests", "noxfile.py", "setup.py"] ALL_PYTHON = [ "3.7",