From ee6c66ff0a16abf17955cae13409ccfa737af347 Mon Sep 17 00:00:00 2001 From: "guillaume.lambert" Date: Thu, 3 Feb 2022 11:18:45 +0100 Subject: [PATCH] Fix gitlint tox profile Tox setup/ini directory is different than the one of .gitlint configuration file that is required by pre-commit. Use --config option in gitlint tox profile so that pre-commit and gitlint profile can use the same configuration file. Signed-off-by: guillaume.lambert Change-Id: Icfc49dae07ee21e60a2d7d7973022f87c0dcd4f2 --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 830026113..059b847c7 100644 --- a/tox.ini +++ b/tox.ini @@ -298,5 +298,5 @@ commands = basepython = python3 deps = gitlint commands = - gitlint + gitlint --config ../.gitlint -- 2.36.6