Skip to content

Commit

Permalink
fix: use a maintained pre-commit hook for prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Saransh-cpp committed Jan 16, 2025
1 parent 7e91d65 commit d71c291
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions tests/data/test_package_generation/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions {{cookiecutter.project_slug}}/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d71c291

Please sign in to comment.