From d71c291b5c93be5ea80915debd922d21070ee915 Mon Sep 17 00:00:00 2001 From: Saransh Chopra Date: Thu, 16 Jan 2025 15:46:50 +0000 Subject: [PATCH] fix: use a maintained pre-commit hook for prettier --- .pre-commit-config.yaml | 4 ++-- tests/data/test_package_generation/.pre-commit-config.yaml | 4 ++-- {{cookiecutter.project_slug}}/.pre-commit-config.yaml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 56c893d9..8746b1e3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,8 +31,8 @@ repos: - --config-file=pyproject.toml additional_dependencies: - pytest - - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.1.0 + - repo: https://github.com/rbubley/mirrors-prettier + rev: v3.4.2 hooks: - id: prettier args: diff --git a/tests/data/test_package_generation/.pre-commit-config.yaml b/tests/data/test_package_generation/.pre-commit-config.yaml index 322d4b78..8e76f6bd 100644 --- a/tests/data/test_package_generation/.pre-commit-config.yaml +++ b/tests/data/test_package_generation/.pre-commit-config.yaml @@ -22,8 +22,8 @@ repos: rev: v1.14.1 hooks: - id: mypy - - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.1.0 + - repo: https://github.com/rbubley/mirrors-prettier + rev: v3.4.2 hooks: - id: prettier args: diff --git a/{{cookiecutter.project_slug}}/.pre-commit-config.yaml b/{{cookiecutter.project_slug}}/.pre-commit-config.yaml index 322d4b78..8e76f6bd 100644 --- a/{{cookiecutter.project_slug}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_slug}}/.pre-commit-config.yaml @@ -22,8 +22,8 @@ repos: rev: v1.14.1 hooks: - id: mypy - - repo: https://github.com/pre-commit/mirrors-prettier - rev: v3.1.0 + - repo: https://github.com/rbubley/mirrors-prettier + rev: v3.4.2 hooks: - id: prettier args: