This repository was archived by the owner on Sep 5, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +13
-6
lines changed
Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 2929from prompt_toolkit .history import FileHistory
3030from prompt_toolkit .application .current import get_app
3131from prompt_toolkit .styles import Style
32- from .ansi import ANSI as Ansi
33- from .validators import (
32+ from gitcommit .ansi import ANSI as Ansi
33+ from gitcommit .validators import (
3434 DescriptionValidator ,
3535 TypeValidator ,
3636 YesNoValidator ,
3737 BodyValidator ,
3838 FooterValidator ,
3939)
40- from .completers import TypeCompleter , FooterCompleter
41- from .updater import check_for_update
42- from .utils import capitaliseFirst
40+ from gitcommit .completers import TypeCompleter , FooterCompleter
41+ from gitcommit .updater import check_for_update
42+ from gitcommit .utils import capitaliseFirst
43+ from gitcommit .style import style
4344
4445CONFIG_HOME_DIR = "~/.gitcommit/"
4546
Original file line number Diff line number Diff line change 1+ from prompt_toolkit .styles import Style
2+
3+ style = Style .from_dict (
4+ {"green" : "#a0d762 bold" , "red" : "#e67061 bold" , "command" : "#f78ae0 bold" }
5+ )
Original file line number Diff line number Diff line change 44from prompt_toolkit import print_formatted_text
55from prompt_toolkit .formatted_text import FormattedText
66from prompt_toolkit .styles import Style
7- from .ansi import ANSI as Ansi
7+ from gitcommit .ansi import ANSI as Ansi
88import pyperclip # pylint: disable=import-error
99from packaging import version
10+ from gitcommit .style import style
1011
1112
1213def get_github_tags ():
You can’t perform that action at this time.
0 commit comments