From 33873e8144656b47ec5025a1cae2a4878681d036 Mon Sep 17 00:00:00 2001 From: Eric Ball Date: Wed, 27 Jan 2021 15:08:25 -0800 Subject: [PATCH] Pin pre-commit to v2.9.3 in tox.ini A change in v2.10.0 of pre-commit introduces an incompatibility with jumanjihouse/pre-commit-hooks, particularly the shellcheck hook. It isn't clear whether this is intentional or not, but until either pre-commit or the jumanjihouse hooks are updated, we need to pin to the working version of pre-commit. Change-Id: I2aa74f9310f55603d2e57d83f79c6f1a51726994 Signed-off-by: Eric Ball --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index b9d28d05..3dfd4411 100644 --- a/tox.ini +++ b/tox.ini @@ -52,7 +52,7 @@ commands = lftools license check-dir -r '.+' shell [testenv:pre-commit] basepython = python3 deps = - pre-commit + pre-commit==2.9.3 commands = pre-commit run --all-files --show-diff-on-failure pre-commit run gitlint --hook-stage commit-msg --commit-msg-filename .git/COMMIT_EDITMSG -- 2.16.6