Browse Source

ref: set default_stages (#60420)

this prevents double-running most hooks on pre-push

<!-- Describe your PR here. -->
anthony sottile 1 year ago
parent
commit
c21d6f954c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .pre-commit-config.yaml

+ 1 - 0
.pre-commit-config.yaml

@@ -1,4 +1,5 @@
 default_install_hook_types: ['pre-commit', 'pre-push']
+default_stages: [pre-commit]
 
 exclude: >
   (?x)(