diff --git a/repo_helper/files/pre_commit.py b/repo_helper/files/pre_commit.py index 4ca4f452..44d9a944 100644 --- a/repo_helper/files/pre_commit.py +++ b/repo_helper/files/pre_commit.py @@ -264,7 +264,7 @@ def make_pre_commit(repo_path: pathlib.Path, templates: jinja2.Environment) -> L formate = Repo( repo=make_github_url("repo-helper", "formate"), - rev="v0.3.2", + rev="v0.4.0", hooks=[{"id": "formate", "exclude": formate_excludes}], ) diff --git a/tests/test_files/test_testing_/test_make_pre_commit.yaml b/tests/test_files/test_testing_/test_make_pre_commit.yaml index ccaad70e..962e4742 100644 --- a/tests/test_files/test_testing_/test_make_pre_commit.yaml +++ b/tests/test_files/test_testing_/test_make_pre_commit.yaml @@ -68,7 +68,7 @@ repos: - id: forbid-crlf - repo: https://github.com/repo-helper/formate - rev: v0.3.2 + rev: v0.4.0 hooks: - id: formate exclude: ^(doc-source/conf|__pkginfo__|make_conda_recipe|setup)\.(_)?py$