Skip to content

Commit db3ee13

Browse files
committed
lint
1 parent 0ee8d50 commit db3ee13

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

packages/google-cloud-runtimeconfig/noxfile.py

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ def lint(session):
9090
)
9191
session.run("flake8", "google", "tests")
9292

93+
9394
@nox.session(python=UNIT_TEST_PYTHON_VERSIONS)
9495
def mypy(session):
9596
"""Run the type checker."""
@@ -392,7 +393,12 @@ def docfx(session):
392393
def prerelease_deps(session, protobuf_implementation):
393394
"""Run all tests with prerelease versions of dependencies installed."""
394395

395-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
396+
if protobuf_implementation == "cpp" and session.python in (
397+
"3.11",
398+
"3.12",
399+
"3.13",
400+
"3.14",
401+
):
396402
session.skip("cpp implementation is not supported in python 3.11+")
397403

398404
# Install all dependencies
@@ -492,6 +498,7 @@ def prerelease_deps(session, protobuf_implementation):
492498
},
493499
)
494500

501+
495502
@nox.session(python=DEFAULT_PYTHON_VERSION)
496503
@nox.parametrize(
497504
"protobuf_implementation",
@@ -501,7 +508,12 @@ def core_deps_from_source(session, protobuf_implementation):
501508
"""Run all tests with core dependencies installed from source
502509
rather than pulling the dependencies from PyPI."""
503510

504-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
511+
if protobuf_implementation == "cpp" and session.python in (
512+
"3.11",
513+
"3.12",
514+
"3.13",
515+
"3.14",
516+
):
505517
session.skip("cpp implementation is not supported in python 3.11+")
506518

507519
# Install all dependencies

0 commit comments

Comments
 (0)