Skip to content

Commit a2137ac

Browse files
BogayLee-W
authored andcommitted
test(test_check_command): add blank line after subject for COMMIT_LOG
According to the spec of conventional commits, the body must begin with a blank line after the description. spec: https://www.conventionalcommits.org/en/v1.0.0/#specification
1 parent 2be6c41 commit a2137ac

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/commands/test_check_command.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,31 +17,31 @@
1717
"refactor(git): remove unnecessary dot between git range",
1818
"bump: version 1.16.3 → 1.16.4",
1919
(
20-
"Merge pull request #139 from Lee-W/fix-init-clean-config-file\n"
20+
"Merge pull request #139 from Lee-W/fix-init-clean-config-file\n\n"
2121
"Fix init clean config file"
2222
),
2323
"ci(pyproject.toml): add configuration for coverage",
24-
"fix(commands/init): fix clean up file when initialize commitizen config\n#138",
24+
"fix(commands/init): fix clean up file when initialize commitizen config\n\n#138",
2525
"refactor(defaults): split config files into long term support and deprecated ones",
2626
"bump: version 1.16.2 → 1.16.3",
2727
(
28-
"Merge pull request #136 from Lee-W/remove-redundant-readme\n"
28+
"Merge pull request #136 from Lee-W/remove-redundant-readme\n\n"
2929
"Remove redundant readme"
3030
),
3131
"fix: replace README.rst with docs/README.md in config files",
3232
(
33-
"refactor(docs): remove README.rst and use docs/README.md\n"
33+
"refactor(docs): remove README.rst and use docs/README.md\n\n"
3434
"By removing README.rst, we no longer need to maintain "
3535
"two document with almost the same content\n"
3636
"Github can read docs/README.md as README for the project."
3737
),
3838
"docs(check): pin pre-commit to v1.16.2",
3939
"docs(check): fix pre-commit setup",
4040
"bump: version 1.16.1 → 1.16.2",
41-
"Merge pull request #135 from Lee-W/fix-pre-commit-hook\nFix pre commit hook",
41+
"Merge pull request #135 from Lee-W/fix-pre-commit-hook\n\nFix pre commit hook",
4242
"docs(check): enforce cz check only whem committing",
4343
(
44-
'Revert "fix(pre-commit): set pre-commit check stage to commit-msg"\n'
44+
'Revert "fix(pre-commit): set pre-commit check stage to commit-msg"\n\n'
4545
"This reverts commit afc70133e4a81344928561fbf3bb20738dfc8a0b."
4646
),
4747
"feat!: add user stuff",

0 commit comments

Comments
 (0)