aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-12-07 09:15:19 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-12-08 13:48:23 +0000
commit3c393e59b60734b4a1c163eb3e175507a32519ad (patch)
tree158791991cb458e3267bdabe3a47bc56782f99ab /tox.ini
parent2dce7527bc6a7c88934eb07f16e2b1b568fb29a6 (diff)
[COMMON] Add git commit linting
Add an automated git commit linting in order to be sure commit messages are set the way we want. Issue-ID: OOM-2644 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I36a397c318886f2ac05a8971147272669c7a4cd9
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini14
1 files changed, 14 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
new file mode 100644
index 0000000000..60f93a35e4
--- /dev/null
+++ b/tox.ini
@@ -0,0 +1,14 @@
+[tox]
+minversion = 1.6
+envlist =
+ gitlint,
+skipsdist=true
+
+[testenv:gitlint]
+basepython = python3
+deps =
+ gitlint
+
+commands =
+ gitlint
+