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

Method set

commitizen/providers/base_provider.py:107–108  ·  view source on GitHub ↗
(self, document: tomlkit.TOMLDocument, version: str)

Source from the content-addressed store, hash-verified

105 return document["project"]["version"] # type: ignore[index,return-value]
106
107 def set(self, document: tomlkit.TOMLDocument, version: str) -> None:
108 document["project"]["version"] = version # type: ignore[index]

Callers 1

set_versionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected