Skip to content
Back to top
View this page

# semantic_release.commit_parser.conventional.parser_monorepo module

class semantic_release.commit_parser.conventional.parser_monorepo.ConventionalCommitMonorepoParser(options: ConventionalCommitMonorepoParserOptions | None = None)

  Bases: `CommitParser`[`ParsedCommit` | `ParseError`, `ConventionalCommitMonorepoParserOptions`]

  get_default_options() → ConventionalCommitMonorepoParserOptions
  logged_parse_error(commit: Commit, error: str) → ParseError
  parse(commit: Commit) → ParseResult | list[ParseResult]
  parse_commit(commit: Commit) → ParseResult

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

  parse_message(message: str, strict_scope: bool = False) → ParsedMessageResult | None
  parser_options

    alias of `ConventionalCommitMonorepoParserOptions`

  unsquash_commit_message(message: str) → list[str]