semantic_release.commit_parser.angular module#

Angular commit style parser https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-guidelines

class semantic_release.commit_parser.angular.AngularCommitParser(options: AngularParserOptions)[source]#

Bases: CommitParser[Union[ParsedCommit, ParseError], AngularParserOptions]

A commit parser for projects conforming to the angular style of conventional commits. See https://www.conventionalcommits.org/en/v1.0.0-beta.4/

parse(commit: Commit) ParseResult[source]#

Attempt to parse the commit message with a regular expression into a ParseResult

parser_options#

alias of AngularParserOptions

class semantic_release.commit_parser.angular.AngularParserOptions(allowed_tags: Tuple[str, ...] = ('build', 'chore', 'ci', 'docs', 'feat', 'fix', 'perf', 'style', 'refactor', 'test'), minor_tags: Tuple[str, ...] = ('feat',), patch_tags: Tuple[str, ...] = ('fix', 'perf'), default_bump_level: LevelBump = LevelBump.NO_RELEASE)[source]#

Bases: ParserOptions

Options dataclass for AngularCommitParser

allowed_tags: Tuple[str, ...] = ('build', 'chore', 'ci', 'docs', 'feat', 'fix', 'perf', 'style', 'refactor', 'test')#
default_bump_level: LevelBump = 0#
minor_tags: Tuple[str, ...] = ('feat',)#
patch_tags: Tuple[str, ...] = ('fix', 'perf')#