From 1cf8b5e582fe862bc2b80fb6b4769713de1bcc94 Mon Sep 17 00:00:00 2001 From: Ruslan Kuprieiev Date: Wed, 15 Mar 2023 00:46:50 +0200 Subject: [PATCH] install: pre-commit: install all deps by default Fixes #9178 --- dvc/repo/install.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dvc/repo/install.py b/dvc/repo/install.py index a583e2f40..149e1ae95 100644 --- a/dvc/repo/install.py +++ b/dvc/repo/install.py @@ -20,16 +20,19 @@ def pre_commit_install(scm: "Git") -> None: "hooks": [ { "id": "dvc-pre-commit", + "additional_dependencies": [".[all]"], "language_version": "python3", "stages": ["commit"], }, { "id": "dvc-pre-push", + "additional_dependencies": [".[all]"], "language_version": "python3", "stages": ["push"], }, { "id": "dvc-post-checkout", + "additional_dependencies": [".[all]"], "language_version": "python3", "stages": ["post-checkout"], "always_run": True,