From: guillaume.lambert Date: Thu, 3 Feb 2022 10:18:45 +0000 (+0100) Subject: Fix gitlint tox profile X-Git-Tag: 5.0.0~105^2 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=df7300f09ec69ffe89a71e7aa6ae7d2336a7048d;hp=735af44fcb12af164c4b349017f91e6127282236;p=transportpce.git 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 --- 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