Skip to content

Commit 76fd970

Browse files
committed
chore: remove code formatting for docs/conf.py
1 parent 058af97 commit 76fd970

File tree

16 files changed

+41
-41
lines changed

16 files changed

+41
-41
lines changed

gapic/templates/docs/conf.py.j2

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ source_suffix = [".rst", ".md"]
7070
root_doc = "index"
7171

7272
# General information about the project.
73-
project = u"{{ api.naming.warehouse_package_name }}"
74-
copyright = u"2025, Google, LLC"
75-
author = u"Google APIs"
73+
project = "{{ api.naming.warehouse_package_name }}"
74+
copyright = "2025, Google, LLC"
75+
author = "Google APIs"
7676

7777
# The version info for the project you're documenting, acts as replacement for
7878
# |version| and |release|, also used in various other places throughout the
@@ -272,7 +272,7 @@ latex_documents = [
272272
(
273273
root_doc,
274274
"{{ api.naming.warehouse_package_name }}.tex",
275-
u"{{ api.naming.warehouse_package_name }} Documentation",
275+
"{{ api.naming.warehouse_package_name }} Documentation",
276276
author,
277277
"manual",
278278
)

gapic/templates/noxfile.py.j2

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ BLACK_VERSION = "black[jupyter]==23.7.0"
1616
ISORT_VERSION = "isort==5.11.0"
1717

1818
{% if api.naming.module_namespace %}
19-
FORMAT_PATHS = ["docs", "{{ api.naming.module_namespace[0] }}", "tests"]
19+
FORMAT_PATHS = ["{{ api.naming.module_namespace[0] }}", "tests"]
2020
LINT_PATHS = ["docs", "{{ api.naming.module_namespace[0] }}", "tests", "noxfile.py", "setup.py"]
2121
{% else %}
22-
FORMAT_PATHS = ["docs", "{{ api.naming.versioned_module_name }}", "tests"]
22+
FORMAT_PATHS = ["{{ api.naming.versioned_module_name }}", "tests"]
2323
LINT_PATHS = ["docs", "{{ api.naming.versioned_module_name }}", "tests", "noxfile.py", "setup.py"]
2424
{% endif %}
2525

tests/integration/goldens/asset/docs/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@
8181
root_doc = "index"
8282

8383
# General information about the project.
84-
project = u"google-cloud-asset"
85-
copyright = u"2025, Google, LLC"
86-
author = u"Google APIs"
84+
project = "google-cloud-asset"
85+
copyright = "2025, Google, LLC"
86+
author = "Google APIs"
8787

8888
# The version info for the project you're documenting, acts as replacement for
8989
# |version| and |release|, also used in various other places throughout the
@@ -283,7 +283,7 @@
283283
(
284284
root_doc,
285285
"google-cloud-asset.tex",
286-
u"google-cloud-asset Documentation",
286+
"google-cloud-asset Documentation",
287287
author,
288288
"manual",
289289
)

tests/integration/goldens/asset/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
BLACK_VERSION = "black[jupyter]==23.7.0"
2727
ISORT_VERSION = "isort==5.11.0"
2828

29-
FORMAT_PATHS = ["docs", "google", "tests"]
29+
FORMAT_PATHS = ["google", "tests"]
3030
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
3131

3232
# We're most interested in ensuring that code is formatted properly

tests/integration/goldens/credentials/docs/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@
8181
root_doc = "index"
8282

8383
# General information about the project.
84-
project = u"google-iam-credentials"
85-
copyright = u"2025, Google, LLC"
86-
author = u"Google APIs"
84+
project = "google-iam-credentials"
85+
copyright = "2025, Google, LLC"
86+
author = "Google APIs"
8787

8888
# The version info for the project you're documenting, acts as replacement for
8989
# |version| and |release|, also used in various other places throughout the
@@ -283,7 +283,7 @@
283283
(
284284
root_doc,
285285
"google-iam-credentials.tex",
286-
u"google-iam-credentials Documentation",
286+
"google-iam-credentials Documentation",
287287
author,
288288
"manual",
289289
)

tests/integration/goldens/credentials/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
BLACK_VERSION = "black[jupyter]==23.7.0"
2727
ISORT_VERSION = "isort==5.11.0"
2828

29-
FORMAT_PATHS = ["docs", "google", "tests"]
29+
FORMAT_PATHS = ["google", "tests"]
3030
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
3131

3232
# We're most interested in ensuring that code is formatted properly

tests/integration/goldens/eventarc/docs/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@
8181
root_doc = "index"
8282

8383
# General information about the project.
84-
project = u"google-cloud-eventarc"
85-
copyright = u"2025, Google, LLC"
86-
author = u"Google APIs"
84+
project = "google-cloud-eventarc"
85+
copyright = "2025, Google, LLC"
86+
author = "Google APIs"
8787

8888
# The version info for the project you're documenting, acts as replacement for
8989
# |version| and |release|, also used in various other places throughout the
@@ -283,7 +283,7 @@
283283
(
284284
root_doc,
285285
"google-cloud-eventarc.tex",
286-
u"google-cloud-eventarc Documentation",
286+
"google-cloud-eventarc Documentation",
287287
author,
288288
"manual",
289289
)

tests/integration/goldens/eventarc/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
BLACK_VERSION = "black[jupyter]==23.7.0"
2727
ISORT_VERSION = "isort==5.11.0"
2828

29-
FORMAT_PATHS = ["docs", "google", "tests"]
29+
FORMAT_PATHS = ["google", "tests"]
3030
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
3131

3232
# We're most interested in ensuring that code is formatted properly

tests/integration/goldens/logging/docs/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@
8181
root_doc = "index"
8282

8383
# General information about the project.
84-
project = u"google-cloud-logging"
85-
copyright = u"2025, Google, LLC"
86-
author = u"Google APIs"
84+
project = "google-cloud-logging"
85+
copyright = "2025, Google, LLC"
86+
author = "Google APIs"
8787

8888
# The version info for the project you're documenting, acts as replacement for
8989
# |version| and |release|, also used in various other places throughout the
@@ -283,7 +283,7 @@
283283
(
284284
root_doc,
285285
"google-cloud-logging.tex",
286-
u"google-cloud-logging Documentation",
286+
"google-cloud-logging Documentation",
287287
author,
288288
"manual",
289289
)

tests/integration/goldens/logging/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
BLACK_VERSION = "black[jupyter]==23.7.0"
2727
ISORT_VERSION = "isort==5.11.0"
2828

29-
FORMAT_PATHS = ["docs", "google", "tests"]
29+
FORMAT_PATHS = ["google", "tests"]
3030
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
3131

3232
# We're most interested in ensuring that code is formatted properly

0 commit comments

Comments
 (0)