Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute()

nox.options.sessions = [
"unit-3.9",
"unit-3.10",
"unit-3.11",
"unit-3.12",
Comment on lines 87 to 90

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

To improve maintainability, consider generating the list of unit test sessions programmatically instead of maintaining it manually. This would make it easier to update the versions tested in Kokoro in the future by changing them in a single place.

For example:

# Python versions to test in Kokoro CI.
KOKORO_PYTHON_VERSIONS = ["3.10", "3.11", "3.12", "3.13", "3.14"]

nox.options.sessions = [f"unit-{version}" for version in KOKORO_PYTHON_VERSIONS] + [
    "system_emulated",
    "system",
    "mypy",
    "cover",
    "lint",
    "lint_setup_py",
    "blacken",
    "docs",
    "docfx",
    "format",
]

Expand Down
Loading