Skip to content

Commit

Permalink
chore: run pdm sync in post-rewrite stage of pre-commit (#636)
Browse files Browse the repository at this point in the history
  • Loading branch information
huxuan authored Jul 5, 2024
1 parent be45b2e commit 36c1316
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
default_install_hook_types:
- post-checkout
- post-merge
- post-rewrite
- pre-push
default_stages:
- manual
Expand Down Expand Up @@ -40,6 +41,7 @@ repos:
stages:
- post-checkout
- post-merge
- post-rewrite
always_run: true
pass_filenames: false
- id: pdm-lock-check
Expand Down
2 changes: 2 additions & 0 deletions template/.pre-commit-config.yaml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
default_install_hook_types:
- post-checkout
- post-merge
- post-rewrite
- pre-push
default_stages:
- manual
Expand Down Expand Up @@ -41,6 +42,7 @@ repos:
stages:
- post-checkout
- post-merge
- post-rewrite
always_run: true
pass_filenames: false
- id: pdm-lock-check
Expand Down

0 comments on commit 36c1316

Please sign in to comment.