semantic_release.commit_parser.token module

class semantic_release.commit_parser.token.ParseError(commit, error)[source]

Bases: NamedTuple

commit: Commit

Alias for field number 0

error: str

Alias for field number 1

property hexsha: str
property message: str
raise_error() NoReturn[source]
property short_hash: str
class semantic_release.commit_parser.token.ParsedCommit(bump, type, scope, descriptions, breaking_descriptions, commit)[source]

Bases: NamedTuple

breaking_descriptions: list[str]

Alias for field number 4

bump: LevelBump

Alias for field number 0

commit: Commit

Alias for field number 5

descriptions: list[str]

Alias for field number 3

property hexsha: str
property message: str
scope: str

Alias for field number 2

property short_hash: str
type: str

Alias for field number 1