From 32d38f39cf86bb8a865c22d0bc8e36d2b7114504 Mon Sep 17 00:00:00 2001 From: Maksim Sadym <69349599+sadym-chromium@users.noreply.github.com> Date: Fri, 19 Jul 2024 10:00:16 +0200 Subject: [PATCH] chore: run pre-commit hooks before push, not before commit (#2428) Required to ease iterative development process. Partly reverts https://github.com/GoogleChromeLabs/chromium-bidi/commit/0cde2e4def56db9cddc17feaa36c199731b14c2e --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a12531b949..7c23b97f3e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,6 +20,7 @@ # # Apply all pre-commit hooks to all files: # $ pre-commit run --all-files +default_stages: [pre-push, manual] repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0