diff options
author | mrichomme <morgan.richomme@orange.com> | 2020-12-10 14:51:55 +0100 |
---|---|---|
committer | Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> | 2020-12-14 10:29:48 +0000 |
commit | 844d0c16a8423fb8ba49410398c286bb83bd0c9b (patch) | |
tree | 60073f11faeb824193751dcffce3ced09bd93f2d /tox.ini | |
parent | 507ddaab6364e75315930dc97b2737d3d7f8bee9 (diff) |
Add gitlint to improve the quality of commit message
Gitling will force some formating on patch submission
Reuse the .gitlint from OOM project
jjb on ci-management shall be modified accordingly
First test on this repo, if OK => to be done on all the
integration repositories
Issue-ID: INT-1809
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I3f1d74d1eba05063a661e66d0620defe36ad7bc8
(cherry picked from commit 94e27de8ea2db18be2878faf38f5d74a09acfdf7)
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,6 +1,6 @@ [tox] minversion = 3.2.0 -envlist = json,yaml,py,md +envlist = json,yaml,py,md,gitlint skipsdist = true requires = pip >= 8 @@ -43,3 +43,9 @@ commands_pre = commands = /bin/bash -c "coala --non-interactive --disable-caching --no-autoapply-warn md --files $(</tmp/.coalist_md) \ " +[testenv:gitlint] +basepython = python3 +deps = + gitlint +commands = + gitlint |