Skip to content

Commit 4c1bae6

Browse files
authored
chore: Update readme and gitchangelog section role (#524)
* chore: tweak changelog filter * address stoping Python 2 support * 2 instead of 2.0... * tweak readme
1 parent cfd99cf commit 4c1bae6

File tree

3 files changed

+527
-292
lines changed

3 files changed

+527
-292
lines changed

.gitchangelog.rc

+5-6
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,14 @@ ignore_regexps = [
8383
##
8484
section_regexps = [
8585
('New', [
86-
r'^[nN]ew\s*:\s*((dev|use?r|pkg|test|doc)\s*:\s*)?([^\n]*)$',
87-
]),
88-
('Changes', [
89-
r'^[cC]hg\s*:\s*((dev|use?r|pkg|test|doc)\s*:\s*)?([^\n]*)$',
86+
r'^([nN]ew|[fF]eat|[aA]dd)\s*(:|)\s*([^\n]*)$',
9087
]),
9188
('Fix', [
92-
r'^[fF]ix\s*:\s*((dev|use?r|pkg|test|doc)\s*:\s*)?([^\n]*)$',
89+
r'^[fF]ix\s*(:|)\s*([^\n]*)$',
90+
]),
91+
('Test', [
92+
r'^([tT]est|[cC][iI])\s*(:|)\s*([^\n]*)$',
9393
]),
94-
9594
('Other', None ## Match all lines
9695
),
9796

0 commit comments

Comments
 (0)