andre-filho/commit-helper

View on GitHub
commit_helper/conventions/no_convention.py

Summary

Maintainability
A
0 mins
Test Coverage
from commit_helper.utils.colors import INPUT_COLOR
from commit_helper.utils.colors import RESET


def just_message(msg=''):
    if msg == '':
        message = str(input(INPUT_COLOR + "commit message: " + RESET))
    else:
        message = msg

    composed = "%s\n" % message.capitalize()
    return composed