From a58092ddf18152358a3b43d1655c8ef30163768b Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Thu, 27 Nov 2025 19:03:55 +0000 Subject: [PATCH] chore: remove code formatting for docs/conf.py --- gapic/templates/docs/conf.py.j2 | 8 ++++---- gapic/templates/noxfile.py.j2 | 4 ++-- tests/integration/goldens/asset/docs/conf.py | 8 ++++---- tests/integration/goldens/asset/noxfile.py | 2 +- tests/integration/goldens/credentials/docs/conf.py | 8 ++++---- tests/integration/goldens/credentials/noxfile.py | 2 +- tests/integration/goldens/eventarc/docs/conf.py | 8 ++++---- tests/integration/goldens/eventarc/noxfile.py | 2 +- tests/integration/goldens/logging/docs/conf.py | 8 ++++---- tests/integration/goldens/logging/noxfile.py | 2 +- tests/integration/goldens/logging_internal/docs/conf.py | 8 ++++---- tests/integration/goldens/logging_internal/noxfile.py | 2 +- tests/integration/goldens/redis/docs/conf.py | 8 ++++---- tests/integration/goldens/redis/noxfile.py | 2 +- tests/integration/goldens/redis_selective/docs/conf.py | 8 ++++---- tests/integration/goldens/redis_selective/noxfile.py | 2 +- 16 files changed, 41 insertions(+), 41 deletions(-) diff --git a/gapic/templates/docs/conf.py.j2 b/gapic/templates/docs/conf.py.j2 index b509706ab6..d1d9c00f8e 100644 --- a/gapic/templates/docs/conf.py.j2 +++ b/gapic/templates/docs/conf.py.j2 @@ -70,9 +70,9 @@ source_suffix = [".rst", ".md"] root_doc = "index" # General information about the project. -project = u"{{ api.naming.warehouse_package_name }}" -copyright = u"2025, Google, LLC" -author = u"Google APIs" +project = "{{ api.naming.warehouse_package_name }}" +copyright = "2025, Google, LLC" +author = "Google APIs" # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -272,7 +272,7 @@ latex_documents = [ ( root_doc, "{{ api.naming.warehouse_package_name }}.tex", - u"{{ api.naming.warehouse_package_name }} Documentation", + "{{ api.naming.warehouse_package_name }} Documentation", author, "manual", ) diff --git a/gapic/templates/noxfile.py.j2 b/gapic/templates/noxfile.py.j2 index 05c63514fc..c980027f82 100644 --- a/gapic/templates/noxfile.py.j2 +++ b/gapic/templates/noxfile.py.j2 @@ -16,10 +16,10 @@ BLACK_VERSION = "black[jupyter]==23.7.0" ISORT_VERSION = "isort==5.11.0" {% if api.naming.module_namespace %} -FORMAT_PATHS = ["docs", "{{ api.naming.module_namespace[0] }}", "tests"] +FORMAT_PATHS = ["{{ api.naming.module_namespace[0] }}", "tests"] LINT_PATHS = ["docs", "{{ api.naming.module_namespace[0] }}", "tests", "noxfile.py", "setup.py"] {% else %} -FORMAT_PATHS = ["docs", "{{ api.naming.versioned_module_name }}", "tests"] +FORMAT_PATHS = ["{{ api.naming.versioned_module_name }}", "tests"] LINT_PATHS = ["docs", "{{ api.naming.versioned_module_name }}", "tests", "noxfile.py", "setup.py"] {% endif %} diff --git a/tests/integration/goldens/asset/docs/conf.py b/tests/integration/goldens/asset/docs/conf.py index 6c82dd6667..1f312fdfc4 100755 --- a/tests/integration/goldens/asset/docs/conf.py +++ b/tests/integration/goldens/asset/docs/conf.py @@ -81,9 +81,9 @@ root_doc = "index" # General information about the project. -project = u"google-cloud-asset" -copyright = u"2025, Google, LLC" -author = u"Google APIs" +project = "google-cloud-asset" +copyright = "2025, Google, LLC" +author = "Google APIs" # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -283,7 +283,7 @@ ( root_doc, "google-cloud-asset.tex", - u"google-cloud-asset Documentation", + "google-cloud-asset Documentation", author, "manual", ) diff --git a/tests/integration/goldens/asset/noxfile.py b/tests/integration/goldens/asset/noxfile.py index 7d7bf9dd01..39fc961114 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" -FORMAT_PATHS = ["docs", "google", "tests"] +FORMAT_PATHS = ["google", "tests"] LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] # We're most interested in ensuring that code is formatted properly diff --git a/tests/integration/goldens/credentials/docs/conf.py b/tests/integration/goldens/credentials/docs/conf.py index 0d3872aa87..dca2a35583 100755 --- a/tests/integration/goldens/credentials/docs/conf.py +++ b/tests/integration/goldens/credentials/docs/conf.py @@ -81,9 +81,9 @@ root_doc = "index" # General information about the project. -project = u"google-iam-credentials" -copyright = u"2025, Google, LLC" -author = u"Google APIs" +project = "google-iam-credentials" +copyright = "2025, Google, LLC" +author = "Google APIs" # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -283,7 +283,7 @@ ( root_doc, "google-iam-credentials.tex", - u"google-iam-credentials Documentation", + "google-iam-credentials Documentation", author, "manual", ) diff --git a/tests/integration/goldens/credentials/noxfile.py b/tests/integration/goldens/credentials/noxfile.py index 0bdd1e0e2d..7be79219b6 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" -FORMAT_PATHS = ["docs", "google", "tests"] +FORMAT_PATHS = ["google", "tests"] LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] # We're most interested in ensuring that code is formatted properly diff --git a/tests/integration/goldens/eventarc/docs/conf.py b/tests/integration/goldens/eventarc/docs/conf.py index 33c2c7b641..3df1c33ceb 100755 --- a/tests/integration/goldens/eventarc/docs/conf.py +++ b/tests/integration/goldens/eventarc/docs/conf.py @@ -81,9 +81,9 @@ root_doc = "index" # General information about the project. -project = u"google-cloud-eventarc" -copyright = u"2025, Google, LLC" -author = u"Google APIs" +project = "google-cloud-eventarc" +copyright = "2025, Google, LLC" +author = "Google APIs" # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -283,7 +283,7 @@ ( root_doc, "google-cloud-eventarc.tex", - u"google-cloud-eventarc Documentation", + "google-cloud-eventarc Documentation", author, "manual", ) diff --git a/tests/integration/goldens/eventarc/noxfile.py b/tests/integration/goldens/eventarc/noxfile.py index 378ae33db2..8aa9dd8a39 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" -FORMAT_PATHS = ["docs", "google", "tests"] +FORMAT_PATHS = ["google", "tests"] LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] # We're most interested in ensuring that code is formatted properly diff --git a/tests/integration/goldens/logging/docs/conf.py b/tests/integration/goldens/logging/docs/conf.py index 0fe50dca96..6fdb49b887 100755 --- a/tests/integration/goldens/logging/docs/conf.py +++ b/tests/integration/goldens/logging/docs/conf.py @@ -81,9 +81,9 @@ root_doc = "index" # General information about the project. -project = u"google-cloud-logging" -copyright = u"2025, Google, LLC" -author = u"Google APIs" +project = "google-cloud-logging" +copyright = "2025, Google, LLC" +author = "Google APIs" # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -283,7 +283,7 @@ ( root_doc, "google-cloud-logging.tex", - u"google-cloud-logging Documentation", + "google-cloud-logging Documentation", author, "manual", ) diff --git a/tests/integration/goldens/logging/noxfile.py b/tests/integration/goldens/logging/noxfile.py index c259a1927b..cafd945c0f 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" -FORMAT_PATHS = ["docs", "google", "tests"] +FORMAT_PATHS = ["google", "tests"] LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] # We're most interested in ensuring that code is formatted properly diff --git a/tests/integration/goldens/logging_internal/docs/conf.py b/tests/integration/goldens/logging_internal/docs/conf.py index 0fe50dca96..6fdb49b887 100755 --- a/tests/integration/goldens/logging_internal/docs/conf.py +++ b/tests/integration/goldens/logging_internal/docs/conf.py @@ -81,9 +81,9 @@ root_doc = "index" # General information about the project. -project = u"google-cloud-logging" -copyright = u"2025, Google, LLC" -author = u"Google APIs" +project = "google-cloud-logging" +copyright = "2025, Google, LLC" +author = "Google APIs" # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -283,7 +283,7 @@ ( root_doc, "google-cloud-logging.tex", - u"google-cloud-logging Documentation", + "google-cloud-logging Documentation", author, "manual", ) diff --git a/tests/integration/goldens/logging_internal/noxfile.py b/tests/integration/goldens/logging_internal/noxfile.py index c259a1927b..cafd945c0f 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" -FORMAT_PATHS = ["docs", "google", "tests"] +FORMAT_PATHS = ["google", "tests"] LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] # We're most interested in ensuring that code is formatted properly diff --git a/tests/integration/goldens/redis/docs/conf.py b/tests/integration/goldens/redis/docs/conf.py index ee9513cfe0..e1e3d99cee 100755 --- a/tests/integration/goldens/redis/docs/conf.py +++ b/tests/integration/goldens/redis/docs/conf.py @@ -81,9 +81,9 @@ root_doc = "index" # General information about the project. -project = u"google-cloud-redis" -copyright = u"2025, Google, LLC" -author = u"Google APIs" +project = "google-cloud-redis" +copyright = "2025, Google, LLC" +author = "Google APIs" # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -283,7 +283,7 @@ ( root_doc, "google-cloud-redis.tex", - u"google-cloud-redis Documentation", + "google-cloud-redis Documentation", author, "manual", ) diff --git a/tests/integration/goldens/redis/noxfile.py b/tests/integration/goldens/redis/noxfile.py index f93c939a62..c6510a4be3 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" -FORMAT_PATHS = ["docs", "google", "tests"] +FORMAT_PATHS = ["google", "tests"] LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] # We're most interested in ensuring that code is formatted properly diff --git a/tests/integration/goldens/redis_selective/docs/conf.py b/tests/integration/goldens/redis_selective/docs/conf.py index ee9513cfe0..e1e3d99cee 100755 --- a/tests/integration/goldens/redis_selective/docs/conf.py +++ b/tests/integration/goldens/redis_selective/docs/conf.py @@ -81,9 +81,9 @@ root_doc = "index" # General information about the project. -project = u"google-cloud-redis" -copyright = u"2025, Google, LLC" -author = u"Google APIs" +project = "google-cloud-redis" +copyright = "2025, Google, LLC" +author = "Google APIs" # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -283,7 +283,7 @@ ( root_doc, "google-cloud-redis.tex", - u"google-cloud-redis Documentation", + "google-cloud-redis Documentation", author, "manual", ) diff --git a/tests/integration/goldens/redis_selective/noxfile.py b/tests/integration/goldens/redis_selective/noxfile.py index f93c939a62..c6510a4be3 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" -FORMAT_PATHS = ["docs", "google", "tests"] +FORMAT_PATHS = ["google", "tests"] LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"] # We're most interested in ensuring that code is formatted properly