We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5890c1a commit 5e0ad31Copy full SHA for 5e0ad31
make/pre-commit.mk
@@ -13,6 +13,8 @@ pre-commit: ; $(info $(M) running pre-commit)
13
ifeq ($(wildcard $(PRE_COMMIT_CONFIG_FILE)),)
14
$(error Cannot find pre-commit config file $(PRE_COMMIT_CONFIG_FILE). Specify the config file via PRE_COMMIT_CONFIG_FILE variable)
15
endif
16
+ # Set pip version to work around https://github.com/pypa/pip/issues/12372
17
+ env VIRTUALENV_PIP=24.0 pre-commit install-hooks
18
env SKIP=$(SKIP) pre-commit run -a --show-diff-on-failure --config $(PRE_COMMIT_CONFIG_FILE)
19
git fetch origin main
20
pre-commit run --hook-stage manual gitlint-ci
0 commit comments