Skip to content

Commit 35e42b4

Browse files
committed
lint
1 parent 8fadef6 commit 35e42b4

File tree

3 files changed

+63
-9
lines changed

3 files changed

+63
-9
lines changed

packages/google-cloud-access-context-manager/noxfile.py

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,15 @@
5858
UNIT_TEST_EXTRAS: List[str] = []
5959
UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {}
6060

61-
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
61+
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = [
62+
"3.8",
63+
"3.9",
64+
"3.10",
65+
"3.11",
66+
"3.12",
67+
"3.13",
68+
"3.14",
69+
]
6270
SYSTEM_TEST_STANDARD_DEPENDENCIES = [
6371
"mock",
6472
"pytest",
@@ -177,7 +185,12 @@ def install_unittest_dependencies(session, *constraints):
177185
def unit(session, protobuf_implementation):
178186
# Install all test dependencies, then install this package in-place.
179187

180-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
188+
if protobuf_implementation == "cpp" and session.python in (
189+
"3.11",
190+
"3.12",
191+
"3.13",
192+
"3.14",
193+
):
181194
session.skip("cpp implementation is not supported in python 3.11+")
182195

183196
constraints_path = str(
@@ -390,7 +403,12 @@ def prerelease_deps(session, protobuf_implementation):
390403
`pip install --pre <package>`.
391404
"""
392405

393-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
406+
if protobuf_implementation == "cpp" and session.python in (
407+
"3.11",
408+
"3.12",
409+
"3.13",
410+
"3.14",
411+
):
394412
session.skip("cpp implementation is not supported in python 3.11+")
395413

396414
# Install all dependencies

packages/google-cloud-audit-log/noxfile.py

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,15 @@
5858
UNIT_TEST_EXTRAS: List[str] = []
5959
UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {}
6060

61-
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
61+
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = [
62+
"3.8",
63+
"3.9",
64+
"3.10",
65+
"3.11",
66+
"3.12",
67+
"3.13",
68+
"3.14",
69+
]
6270
SYSTEM_TEST_STANDARD_DEPENDENCIES = [
6371
"mock",
6472
"pytest",
@@ -177,7 +185,12 @@ def install_unittest_dependencies(session, *constraints):
177185
def unit(session, protobuf_implementation):
178186
# Install all test dependencies, then install this package in-place.
179187

180-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
188+
if protobuf_implementation == "cpp" and session.python in (
189+
"3.11",
190+
"3.12",
191+
"3.13",
192+
"3.14",
193+
):
181194
session.skip("cpp implementation is not supported in python 3.11+")
182195

183196
constraints_path = str(
@@ -390,7 +403,12 @@ def prerelease_deps(session, protobuf_implementation):
390403
`pip install --pre <package>`.
391404
"""
392405

393-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
406+
if protobuf_implementation == "cpp" and session.python in (
407+
"3.11",
408+
"3.12",
409+
"3.13",
410+
"3.14",
411+
):
394412
session.skip("cpp implementation is not supported in python 3.11+")
395413

396414
# Install all dependencies

packages/googleapis-common-protos/noxfile.py

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,15 @@
5858
UNIT_TEST_EXTRAS: List[str] = []
5959
UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {}
6060

61-
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
61+
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = [
62+
"3.8",
63+
"3.9",
64+
"3.10",
65+
"3.11",
66+
"3.12",
67+
"3.13",
68+
"3.14",
69+
]
6270
SYSTEM_TEST_STANDARD_DEPENDENCIES = [
6371
"mock",
6472
"pytest",
@@ -177,7 +185,12 @@ def install_unittest_dependencies(session, *constraints):
177185
def unit(session, protobuf_implementation):
178186
# Install all test dependencies, then install this package in-place.
179187

180-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
188+
if protobuf_implementation == "cpp" and session.python in (
189+
"3.11",
190+
"3.12",
191+
"3.13",
192+
"3.14",
193+
):
181194
session.skip("cpp implementation is not supported in python 3.11+")
182195

183196
constraints_path = str(
@@ -390,7 +403,12 @@ def prerelease_deps(session, protobuf_implementation):
390403
`pip install --pre <package>`.
391404
"""
392405

393-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
406+
if protobuf_implementation == "cpp" and session.python in (
407+
"3.11",
408+
"3.12",
409+
"3.13",
410+
"3.14",
411+
):
394412
session.skip("cpp implementation is not supported in python 3.11+")
395413

396414
# Install all dependencies

0 commit comments

Comments
 (0)