Commit-message-validator/ja

commit-message-validator is a tool that validates commit messages to our commit message guidelines. Python 3.6 以降が必要です. The preferred method of installation is to use pre-commit.

Add the following to your :

Then install the pre-commit hook:

The git hook will run after you make the commit, and tell you about any errors you might have made so you can go back and amend your change.

Use with gitlab.wikimedia.org's CI/CD
A GitLab CI/CD template is provided in the project repo for linting of commit messages in a merge request. Add the following to your : 

外部リンク

 * PyPi 上
 * repos/ci-tools/commit-message-validator - GitLab 上
 * Phabricator プロジェクト
 * Code repository mirror on Phabricator