Skip to content

Merge "success", "failure", "warning" and "bold" functions #3

@tadeck

Description

@tadeck

Currently success, failure, warning and bold do almost exactly the same thing, without applying DRY rule. They should use common code part, allowing for flexibility in future feature creation.

Create additional method, eg. _formatted_message(msg, color=1, bold=False), to support code reuse.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions