Skip to content

Commit db39415

Browse files
committed
add(convention helper): helper for tagged convention
1 parent dc6bb86 commit db39415

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

commit_helper/__main__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from .utils.text_utils import debug
66
from .utils.file_handler import handle_file_based_commit
77
from .utils.flag_commit_handler import convention_flag_handler
8+
# convention imports
89
from .conventions.convention_help_handler import convention_help_handler
910

1011

commit_helper/conventions/tagged.py

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,23 @@ def tagged_convention(tag, msg):
99
Convention format:
1010
1111
TAG: message
12+
<BLANK>
13+
<body>
14+
<BLANK>
15+
<footer>
16+
1217
---
1318
Tag usage:
1419
15-
ADD:
16-
17-
20+
ADD -> use for new files or methods
21+
FEAT -> for when adding a new feature
22+
DEL -> use for excluded files or methods
23+
CHR -> use for normal dev work and maintainance
24+
MERGE -> use for signal merges
25+
DOCS -> for documentation changes
26+
FIX -> use for solving bugs or failures in file
27+
REF -> use for when you rename a file
28+
STYLE -> use for fixing stylesheet errors
29+
TEST -> use for test files
30+
CI -> for that commit that aims for fix a build
1831
"""

0 commit comments

Comments
 (0)