@@ -249,8 +249,8 @@ lint.sequence = [
249
249
{ cmd = " mypy" },
250
250
]
251
251
252
- check-commit.help = " Check the commit message "
253
- check-commit.cmd = " cz -nr 3 check --rev-range origin/master.."
252
+ check-commit.help = " Check the commit messages "
253
+ check-commit.cmd = " poetry run cz --no-raise 3 check --rev-range origin/master.."
254
254
255
255
test.help = " Run the test suite"
256
256
test.cmd = " pytest -n 3 --dist=loadfile"
@@ -262,7 +262,7 @@ cover.help = "Run the test suite with coverage"
262
262
cover.ref = " test --cov-report term-missing --cov-report=xml:coverage.xml --cov=commitizen"
263
263
264
264
all.help = " Run all tasks"
265
- all.sequence = [" format " , " lint " , " cover " , " check-commit " ]
265
+ all.sequence = [" check-commit " , " format " , " lint " , " cover " ]
266
266
267
267
"doc:screenshots".help = " Render documentation screenshots"
268
268
"doc:screenshots".script = " scripts.gen_cli_help_screenshots:gen_cli_help_screenshots"
@@ -274,7 +274,7 @@ doc.help = "Live documentation server"
274
274
doc.cmd = " mkdocs serve"
275
275
276
276
ci.help = " Run all tasks in CI"
277
- ci.sequence = [{ cmd = " pre-commit run --all-files" }, " cover" ]
277
+ ci.sequence = [" check-commit " , { cmd = " pre-commit run --all-files" }, " cover" ]
278
278
ci.env = { SKIP = " no-commit-to-branch" }
279
279
280
280
setup-pre-commit.help = " Install pre-commit hooks"
0 commit comments