generate_changelog.actions.metadata.ParseIssue

ParseIssue#

class generate_changelog.actions.metadata.ParseIssue[source]#

Base class to parse an issue reference and put it into the commit metadata.

__init__(commit_metadata, issue_pattern=None)[source]#
Parameters:
  • commit_metadata (Callable) –

  • issue_pattern (str | None) –

issue_pattern: Pattern#
__call__(message)[source]#

Put the issue(s) reference into the commit metadata using the keyword issue .

Parameters:

message (str) – The commit message

Return type:

str

Returns:

The commit message for later processing.