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

Method __post_init__

commitizen/changelog.py:68–72  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

66 latest_version_tag: str | None = None
67
68 def __post_init__(self) -> None:
69 if self.latest_version and not self.latest_version_tag:
70 # Test syntactic sugar
71 # latest version tag is optional if same as latest version
72 self.latest_version_tag = self.latest_version
73
74
75@dataclass

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected