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

Class NoVersionSpecifiedError

commitizen/exceptions.py:113–121  ·  view source on GitHub ↗

Version is not specified in configuration file

Source from the content-addressed store, hash-verified

111
112
113class NoVersionSpecifiedError(CommitizenException):
114 """Version is not specified in configuration file"""
115
116 exit_code = ExitCode.NO_VERSION_SPECIFIED
117 message = (
118 "[NO_VERSION_SPECIFIED]\n"
119 "Check if current version is specified in config file, like:\n"
120 "version = 0.4.3\n"
121 )
122
123
124class NoPatternMapError(CommitizenException):

Callers 1

get_versionMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected