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

Method __str__

commitizen/version_increment.py:45–47  ·  view source on GitHub ↗

Return the legacy string representation used by existing callers.

(self)

Source from the content-addressed store, hash-verified

43 MAJOR = 3
44
45 def __str__(self) -> str:
46 """Return the legacy string representation used by existing callers."""
47 return self.name
48
49 @classmethod
50 def from_value(cls, value: object) -> VersionIncrement:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected