diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7dc8d1ea..ac8c1fb8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -35,7 +35,7 @@ repos: hooks: - id: pdm-sync name: pdm-sync - entry: pdm sync + entry: pdm sync --clean language: python stages: - post-checkout diff --git a/template/.pre-commit-config.yaml.jinja b/template/.pre-commit-config.yaml.jinja index 8d53ba64..917e9127 100644 --- a/template/.pre-commit-config.yaml.jinja +++ b/template/.pre-commit-config.yaml.jinja @@ -36,7 +36,7 @@ repos: hooks: - id: pdm-sync name: pdm-sync - entry: pdm sync + entry: pdm sync --clean language: python stages: - post-checkout