Coverage for /home/delusionalinsanity/bbrepos/matyan/src/matyan/renderers/base.py : 82%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
'BaseRenderer', 'RendererRegistry', )
"""Renderer registry."""
raise NotImplementedError
return dict(CONFIG[self.uid])
tree: dict, include_other: bool, headings_only: bool, show_description: bool) -> str: raise NotImplementedError
releases_tree: dict, include_other: bool, headings_only: bool, show_description: bool) -> str: raise NotImplementedError
raise NotImplementedError
raise NotImplementedError
raise NotImplementedError
raise NotImplementedError
commit_data: Dict[str, str], branch_type: str, counter: int = 0): raise NotImplementedError
tree: dict, include_other: bool, headings_only: bool, fetch_description: bool) -> str: # changelog = [] # Skip adding orphaned commits if explicitly asked not to.
# Do not add branch type if no related branches found continue
# Feature type label `append_feature_type` # changelog.append( # "\n**{}**{}".format( # BRANCH_TYPES.get(branch_type), # '\n' if branch_type == BRANCH_TYPE_OTHER else '' # ) # )
# Add tickets continue
# Ticket name `append_ticket_title` ticket_number, ticket_data['title'] ) # changelog.append( # "\n*{} {}*".format( # ticket_number, # ticket_data['title'] # ) # )
# Description quote `append_ticket_description` self.append_ticket_description( ticket_data['description'] ) # changelog.append( # "\n```\n{}\n```".format( # ticket_data['description'].strip() # ) # )
# Commit text `append_commit_message` commit_data=commit_data, branch_type=branch_type, counter=counter ) # changelog.append( # "{}- {} [{}]".format( # '\n' if counter == 0 and branch_type != BRANCH_TYPE_OTHER else '', # commit_data['title'], # commit_data['author'] # ) # )
# return '\n'.join(changelog)
releases_tree: dict, include_other: bool, headings_only: bool, fetch_description: bool) -> str: # changelog = [] if release == UNRELEASED \ else release
# Release label `append_release` # changelog.append("\n### {}".format(release_label))
# Skip adding orphaned commits if explicitly asked not to.
# Do not add branch type if no related branches found continue
# Feature type label `append_feature_type` # changelog.append( # "\n**{}**{}".format( # BRANCH_TYPES.get(branch_type), # '\n' if branch_type == BRANCH_TYPE_OTHER else '' # ) # )
# Add tickets continue
# Ticket name `append_ticket_title` ticket_number, ticket_data['title'] ) # changelog.append( # "\n*{} {}*".format( # ticket_number, # ticket_data['title'] # ) # )
# Description quote `append_ticket_description` self.append_ticket_description( ticket_data['description'] ) # changelog.append( # "\n```\n{}\n```".format( # ticket_data['description'].strip() # ) # )
# Commit text `append_commit_message` commit_data=commit_data, branch_type=branch_type, counter=counter ) # changelog.append( # "{}- {} [{}]".format( # '\n' if counter == 0 and branch_type != BRANCH_TYPE_OTHER else '', # commit_data['title'], # commit_data['author'] # ) # )
# return '\n'.join(changelog) |