Skip to content

Commit 0e66fc3

Browse files
committed
fix formatting
1 parent 112349d commit 0e66fc3

File tree

8 files changed

+128
-32
lines changed

8 files changed

+128
-32
lines changed

gapic/templates/noxfile.py.j2

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,12 @@ def unit(session, protobuf_implementation):
239239

240240
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2388):
241241
# Remove this check once support for Protobuf 3.x is dropped.
242-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
242+
if protobuf_implementation == "cpp" and session.python in (
243+
"3.11",
244+
"3.12",
245+
"3.13",
246+
"3.14",
247+
):
243248
session.skip("cpp implementation is not supported in python 3.11+")
244249

245250
constraints_path = str(
@@ -386,8 +391,10 @@ def docs(session):
386391
"-W", # warnings as errors
387392
"-T", # show full traceback on exception
388393
"-N", # no colors
389-
"-b", "html", # builder
390-
"-d", os.path.join("docs", "_build", "doctrees", ""), # cache directory
394+
"-b", # builder
395+
"html",
396+
"-d", # cache directory
397+
os.path.join("docs", "_build", "doctrees", ""),
391398
# paths to build:
392399
os.path.join("docs", ""),
393400
os.path.join("docs", "_build", "html", ""),
@@ -455,7 +462,12 @@ def prerelease_deps(session, protobuf_implementation):
455462

456463
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2388):
457464
# Remove this check once support for Protobuf 3.x is dropped.
458-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
465+
if protobuf_implementation == "cpp" and session.python in (
466+
"3.11",
467+
"3.12",
468+
"3.13",
469+
"3.14",
470+
):
459471
session.skip("cpp implementation is not supported in python 3.11+")
460472

461473
# Install all dependencies

tests/integration/goldens/asset/noxfile.py

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,12 @@ def unit(session, protobuf_implementation):
237237

238238
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2388):
239239
# Remove this check once support for Protobuf 3.x is dropped.
240-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
240+
if protobuf_implementation == "cpp" and session.python in (
241+
"3.11",
242+
"3.12",
243+
"3.13",
244+
"3.14",
245+
):
241246
session.skip("cpp implementation is not supported in python 3.11+")
242247

243248
constraints_path = str(
@@ -379,8 +384,10 @@ def docs(session):
379384
"-W", # warnings as errors
380385
"-T", # show full traceback on exception
381386
"-N", # no colors
382-
"-b", "html", # builder
383-
"-d", os.path.join("docs", "_build", "doctrees", ""), # cache directory
387+
"-b", # builder
388+
"html",
389+
"-d", # cache directory
390+
os.path.join("docs", "_build", "doctrees", ""),
384391
# paths to build:
385392
os.path.join("docs", ""),
386393
os.path.join("docs", "_build", "html", ""),
@@ -448,7 +455,12 @@ def prerelease_deps(session, protobuf_implementation):
448455

449456
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2388):
450457
# Remove this check once support for Protobuf 3.x is dropped.
451-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
458+
if protobuf_implementation == "cpp" and session.python in (
459+
"3.11",
460+
"3.12",
461+
"3.13",
462+
"3.14",
463+
):
452464
session.skip("cpp implementation is not supported in python 3.11+")
453465

454466
# Install all dependencies

tests/integration/goldens/credentials/noxfile.py

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,12 @@ def unit(session, protobuf_implementation):
237237

238238
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2388):
239239
# Remove this check once support for Protobuf 3.x is dropped.
240-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
240+
if protobuf_implementation == "cpp" and session.python in (
241+
"3.11",
242+
"3.12",
243+
"3.13",
244+
"3.14",
245+
):
241246
session.skip("cpp implementation is not supported in python 3.11+")
242247

243248
constraints_path = str(
@@ -379,8 +384,10 @@ def docs(session):
379384
"-W", # warnings as errors
380385
"-T", # show full traceback on exception
381386
"-N", # no colors
382-
"-b", "html", # builder
383-
"-d", os.path.join("docs", "_build", "doctrees", ""), # cache directory
387+
"-b", # builder
388+
"html",
389+
"-d", # cache directory
390+
os.path.join("docs", "_build", "doctrees", ""),
384391
# paths to build:
385392
os.path.join("docs", ""),
386393
os.path.join("docs", "_build", "html", ""),
@@ -448,7 +455,12 @@ def prerelease_deps(session, protobuf_implementation):
448455

449456
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2388):
450457
# Remove this check once support for Protobuf 3.x is dropped.
451-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
458+
if protobuf_implementation == "cpp" and session.python in (
459+
"3.11",
460+
"3.12",
461+
"3.13",
462+
"3.14",
463+
):
452464
session.skip("cpp implementation is not supported in python 3.11+")
453465

454466
# Install all dependencies

tests/integration/goldens/eventarc/noxfile.py

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,12 @@ def unit(session, protobuf_implementation):
237237

238238
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2388):
239239
# Remove this check once support for Protobuf 3.x is dropped.
240-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
240+
if protobuf_implementation == "cpp" and session.python in (
241+
"3.11",
242+
"3.12",
243+
"3.13",
244+
"3.14",
245+
):
241246
session.skip("cpp implementation is not supported in python 3.11+")
242247

243248
constraints_path = str(
@@ -379,8 +384,10 @@ def docs(session):
379384
"-W", # warnings as errors
380385
"-T", # show full traceback on exception
381386
"-N", # no colors
382-
"-b", "html", # builder
383-
"-d", os.path.join("docs", "_build", "doctrees", ""), # cache directory
387+
"-b", # builder
388+
"html",
389+
"-d", # cache directory
390+
os.path.join("docs", "_build", "doctrees", ""),
384391
# paths to build:
385392
os.path.join("docs", ""),
386393
os.path.join("docs", "_build", "html", ""),
@@ -448,7 +455,12 @@ def prerelease_deps(session, protobuf_implementation):
448455

449456
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2388):
450457
# Remove this check once support for Protobuf 3.x is dropped.
451-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
458+
if protobuf_implementation == "cpp" and session.python in (
459+
"3.11",
460+
"3.12",
461+
"3.13",
462+
"3.14",
463+
):
452464
session.skip("cpp implementation is not supported in python 3.11+")
453465

454466
# Install all dependencies

tests/integration/goldens/logging/noxfile.py

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,12 @@ def unit(session, protobuf_implementation):
237237

238238
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2388):
239239
# Remove this check once support for Protobuf 3.x is dropped.
240-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
240+
if protobuf_implementation == "cpp" and session.python in (
241+
"3.11",
242+
"3.12",
243+
"3.13",
244+
"3.14",
245+
):
241246
session.skip("cpp implementation is not supported in python 3.11+")
242247

243248
constraints_path = str(
@@ -379,8 +384,10 @@ def docs(session):
379384
"-W", # warnings as errors
380385
"-T", # show full traceback on exception
381386
"-N", # no colors
382-
"-b", "html", # builder
383-
"-d", os.path.join("docs", "_build", "doctrees", ""), # cache directory
387+
"-b", # builder
388+
"html",
389+
"-d", # cache directory
390+
os.path.join("docs", "_build", "doctrees", ""),
384391
# paths to build:
385392
os.path.join("docs", ""),
386393
os.path.join("docs", "_build", "html", ""),
@@ -448,7 +455,12 @@ def prerelease_deps(session, protobuf_implementation):
448455

449456
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2388):
450457
# Remove this check once support for Protobuf 3.x is dropped.
451-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
458+
if protobuf_implementation == "cpp" and session.python in (
459+
"3.11",
460+
"3.12",
461+
"3.13",
462+
"3.14",
463+
):
452464
session.skip("cpp implementation is not supported in python 3.11+")
453465

454466
# Install all dependencies

tests/integration/goldens/logging_internal/noxfile.py

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,12 @@ def unit(session, protobuf_implementation):
237237

238238
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2388):
239239
# Remove this check once support for Protobuf 3.x is dropped.
240-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
240+
if protobuf_implementation == "cpp" and session.python in (
241+
"3.11",
242+
"3.12",
243+
"3.13",
244+
"3.14",
245+
):
241246
session.skip("cpp implementation is not supported in python 3.11+")
242247

243248
constraints_path = str(
@@ -379,8 +384,10 @@ def docs(session):
379384
"-W", # warnings as errors
380385
"-T", # show full traceback on exception
381386
"-N", # no colors
382-
"-b", "html", # builder
383-
"-d", os.path.join("docs", "_build", "doctrees", ""), # cache directory
387+
"-b", # builder
388+
"html",
389+
"-d", # cache directory
390+
os.path.join("docs", "_build", "doctrees", ""),
384391
# paths to build:
385392
os.path.join("docs", ""),
386393
os.path.join("docs", "_build", "html", ""),
@@ -448,7 +455,12 @@ def prerelease_deps(session, protobuf_implementation):
448455

449456
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2388):
450457
# Remove this check once support for Protobuf 3.x is dropped.
451-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
458+
if protobuf_implementation == "cpp" and session.python in (
459+
"3.11",
460+
"3.12",
461+
"3.13",
462+
"3.14",
463+
):
452464
session.skip("cpp implementation is not supported in python 3.11+")
453465

454466
# Install all dependencies

tests/integration/goldens/redis/noxfile.py

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,12 @@ def unit(session, protobuf_implementation):
237237

238238
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2388):
239239
# Remove this check once support for Protobuf 3.x is dropped.
240-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
240+
if protobuf_implementation == "cpp" and session.python in (
241+
"3.11",
242+
"3.12",
243+
"3.13",
244+
"3.14",
245+
):
241246
session.skip("cpp implementation is not supported in python 3.11+")
242247

243248
constraints_path = str(
@@ -379,8 +384,10 @@ def docs(session):
379384
"-W", # warnings as errors
380385
"-T", # show full traceback on exception
381386
"-N", # no colors
382-
"-b", "html", # builder
383-
"-d", os.path.join("docs", "_build", "doctrees", ""), # cache directory
387+
"-b", # builder
388+
"html",
389+
"-d", # cache directory
390+
os.path.join("docs", "_build", "doctrees", ""),
384391
# paths to build:
385392
os.path.join("docs", ""),
386393
os.path.join("docs", "_build", "html", ""),
@@ -448,7 +455,12 @@ def prerelease_deps(session, protobuf_implementation):
448455

449456
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2388):
450457
# Remove this check once support for Protobuf 3.x is dropped.
451-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
458+
if protobuf_implementation == "cpp" and session.python in (
459+
"3.11",
460+
"3.12",
461+
"3.13",
462+
"3.14",
463+
):
452464
session.skip("cpp implementation is not supported in python 3.11+")
453465

454466
# Install all dependencies

tests/integration/goldens/redis_selective/noxfile.py

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,12 @@ def unit(session, protobuf_implementation):
237237

238238
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2388):
239239
# Remove this check once support for Protobuf 3.x is dropped.
240-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
240+
if protobuf_implementation == "cpp" and session.python in (
241+
"3.11",
242+
"3.12",
243+
"3.13",
244+
"3.14",
245+
):
241246
session.skip("cpp implementation is not supported in python 3.11+")
242247

243248
constraints_path = str(
@@ -379,8 +384,10 @@ def docs(session):
379384
"-W", # warnings as errors
380385
"-T", # show full traceback on exception
381386
"-N", # no colors
382-
"-b", "html", # builder
383-
"-d", os.path.join("docs", "_build", "doctrees", ""), # cache directory
387+
"-b", # builder
388+
"html",
389+
"-d", # cache directory
390+
os.path.join("docs", "_build", "doctrees", ""),
384391
# paths to build:
385392
os.path.join("docs", ""),
386393
os.path.join("docs", "_build", "html", ""),
@@ -448,7 +455,12 @@ def prerelease_deps(session, protobuf_implementation):
448455

449456
# TODO(https://github.com/googleapis/gapic-generator-python/issues/2388):
450457
# Remove this check once support for Protobuf 3.x is dropped.
451-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
458+
if protobuf_implementation == "cpp" and session.python in (
459+
"3.11",
460+
"3.12",
461+
"3.13",
462+
"3.14",
463+
):
452464
session.skip("cpp implementation is not supported in python 3.11+")
453465

454466
# Install all dependencies

0 commit comments

Comments
 (0)