Skip to content

Commit 3df9788

Browse files
committed
Merge branch 'ci-pr-check-fix' into ci-pr-check-fix-test
2 parents bf00939 + 74d92d2 commit 3df9788

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ lint.sequence = [
238238
]
239239

240240
check-commit.help = "Check the commit messages"
241-
check-commit.cmd = "cz --no-raise 3 check --rev-range origin/master.."
241+
check-commit.cmd = "poetry run cz --no-raise 3 check --rev-range origin/master.."
242242

243243
test.help = "Run the test suite"
244244
test.cmd = "pytest -n 3 --dist=loadfile"
@@ -262,7 +262,7 @@ doc.help = "Live documentation server"
262262
doc.cmd = "mkdocs serve"
263263

264264
ci.help = "Run all tasks in CI"
265-
ci.sequence = [{ cmd = "pre-commit run --all-files" }, "cover"]
265+
ci.sequence = ["check-commit", { cmd = "pre-commit run --all-files" }, "cover"]
266266
ci.env = { SKIP = "no-commit-to-branch" }
267267

268268
setup-pre-commit.help = "Install pre-commit hooks"

0 commit comments

Comments
 (0)