MCPcopy Create free account
hub / github.com/commitizen-tools/commitizen / python_version

Function python_version

tests/conftest.py:321–323  ·  view source on GitHub ↗

The current python version in '{major}.{minor}' format

(request: pytest.FixtureRequest)

Source from the content-addressed store, hash-verified

319
320@pytest.fixture(params=[pytest.param(PYTHON_VERSION, id=f"py_{PYTHON_VERSION}")])
321def python_version(request: pytest.FixtureRequest) -> str:
322 """The current python version in '{major}.{minor}' format"""
323 return cast("str", request.param)
324
325
326@pytest.fixture

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected