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

Method set

commitizen/providers/poetry_provider.py:21–22  ·  view source on GitHub ↗
(self, pyproject: tomlkit.TOMLDocument, version: str)

Source from the content-addressed store, hash-verified

19 return pyproject["tool"]["poetry"]["version"] # type: ignore[index,return-value]
20
21 def set(self, pyproject: tomlkit.TOMLDocument, version: str) -> None:
22 pyproject["tool"]["poetry"]["version"] = version # type: ignore[index]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected