Skip to content

Commit d66ec68

Browse files
phlogistonjohnmergify[bot]
authored andcommitted
tox: add a gitlint environment
The new gitlint tox environment is not run by default, it can be run manually or by CI in order to check that commit messages meet some basic quality criteria. Signed-off-by: John Mulligan <[email protected]>
1 parent 73c7b5e commit d66ec68

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tox.ini

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,11 @@ deps =
6060
PyYAML
6161
commands =
6262
python -m sambacc.schema.tool
63+
64+
# this gitlint rule is not run by default.
65+
# Run it manually with: tox -e gitlint
66+
[testenv:gitlint]
67+
deps =
68+
gitlint==0.19.1
69+
commands =
70+
gitlint --commits origin/master.. lint

0 commit comments

Comments
 (0)