File tree 2 files changed +16
-2
lines changed 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -45,55 +45,68 @@ def questions(self) -> List[Dict[str, Any]]:
45
45
"type" : "list" ,
46
46
"name" : "prefix" ,
47
47
"message" : "Select the type of change you are committing" ,
48
+ "use_shortcuts" : self .config .settings ['use_shortcuts' ],
48
49
"choices" : [
49
50
{
50
51
"value" : "fix" ,
51
52
"name" : "fix: A bug fix. Correlates with PATCH in SemVer" ,
53
+ "key" : "x" ,
52
54
},
53
55
{
54
56
"value" : "feat" ,
55
57
"name" : "feat: A new feature. Correlates with MINOR in SemVer" ,
58
+ "key" : "f" ,
59
+ },
60
+ {
61
+ "value" : "docs" ,
62
+ "name" : "docs: Documentation only changes" ,
63
+ "key" : "d" ,
56
64
},
57
- {"value" : "docs" , "name" : "docs: Documentation only changes" },
58
65
{
59
66
"value" : "style" ,
60
67
"name" : (
61
68
"style: Changes that do not affect the "
62
69
"meaning of the code (white-space, formatting,"
63
70
" missing semi-colons, etc)"
64
71
),
72
+ "key" : "s" ,
65
73
},
66
74
{
67
75
"value" : "refactor" ,
68
76
"name" : (
69
77
"refactor: A code change that neither fixes "
70
78
"a bug nor adds a feature"
71
79
),
80
+ "key" : "r" ,
72
81
},
73
82
{
74
83
"value" : "perf" ,
75
84
"name" : "perf: A code change that improves performance" ,
85
+ "key" : "p" ,
76
86
},
77
87
{
78
88
"value" : "test" ,
79
89
"name" : (
80
90
"test: Adding missing or correcting " "existing tests"
81
91
),
92
+ "key" : "t" ,
82
93
},
83
94
{
84
95
"value" : "build" ,
85
96
"name" : (
86
97
"build: Changes that affect the build system or "
87
98
"external dependencies (example scopes: pip, docker, npm)"
88
99
),
100
+ "key" : "b" ,
89
101
},
90
102
{
91
103
"value" : "ci" ,
92
104
"name" : (
93
105
"ci: Changes to our CI configuration files and "
94
106
"scripts (example scopes: GitLabCI)"
95
107
),
96
- },
108
+ "key" : "c" ,
109
+ }
97
110
],
98
111
},
99
112
{
Original file line number Diff line number Diff line change 21
21
"changelog_incremental" : False ,
22
22
"changelog_start_rev" : None ,
23
23
"update_changelog_on_bump" : False ,
24
+ "use_shortcuts" : False ,
24
25
}
25
26
26
27
MAJOR = "MAJOR"
You can’t perform that action at this time.
0 commit comments