Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 295f975

Browse filesBrowse files
committed
ci(github-actions): add check-commit task
1 parent 43ee8a0 commit 295f975
Copy full SHA for 295f975

File tree

1 file changed

+4
-0
lines changed
Filter options

1 file changed

+4
-0
lines changed

‎pyproject.toml

Copy file name to clipboardExpand all lines: pyproject.toml
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,9 @@ lint.sequence = [
237237
{cmd = "mypy commitizen/ tests/"},
238238
]
239239

240+
check-commit.help = "Check the commit message"
241+
check-commit.cmd = "cz -nr 3 check --rev-range origin/master.."
242+
240243
test.help = "Run the test suite"
241244
test.cmd = "pytest -n 3 --dist=loadfile"
242245

@@ -251,6 +254,7 @@ all.sequence = [
251254
"format",
252255
"lint",
253256
"cover",
257+
"check-commit"
254258
]
255259

256260
"doc:screenshots".help = "Render documentation screeenshots"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.