Skip to content

Commit 9a13ef9

Browse files
committed
perf(template): Adjust stages which run local pre-commit hooks
1 parent aa998bd commit 9a13ef9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

template/.pre-commit-config.yaml.j2

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ repos:
5959
name: regenerate-charts
6060
language: system
6161
entry: make regenerate-charts
62-
stages: [pre-commit, pre-merge-commit, manual]
62+
stages: [pre-commit, pre-merge-commit]
6363
pass_filenames: false
6464
files: \.rs$|Cargo\.(toml|lock)
6565

@@ -75,22 +75,22 @@ repos:
7575
name: cargo-test
7676
language: system
7777
entry: cargo test
78-
stages: [pre-commit, pre-merge-commit, manual]
78+
stages: [pre-commit, pre-merge-commit]
7979
pass_filenames: false
8080
files: \.rs$|Cargo\.(toml|lock)
8181

8282
- id: cargo-rustfmt
8383
name: cargo-rustfmt
8484
language: system
8585
entry: cargo +{[rust_nightly_version}] fmt --all -- --check
86-
stages: [pre-commit]
86+
stages: [pre-commit, pre-merge-commit]
8787
pass_filenames: false
8888
files: \.rs$
8989

9090
- id: cargo-clippy
9191
name: cargo-clippy
9292
language: system
9393
entry: cargo clippy --all-targets -- -D warnings
94-
stages: [pre-commit]
94+
stages: [pre-commit, pre-merge-commit]
9595
pass_filenames: false
9696
files: \.rs$

0 commit comments

Comments
 (0)