Skip to content

Commit

Permalink
TG-1016 Update Makefile and pre-commit dependencies (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
niccolomineo authored Jan 10, 2024
1 parent 3488940 commit 4ad6d02
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 @@ -32,11 +32,11 @@ repos:
- id: pyupgrade
args: [--py312-plus]
- repo: https://github.com/psf/black
rev: "23.1.0"
rev: "23.12.1"
hooks:
- id: black
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v4.0.0-alpha.8"
rev: "v3.1.0"
hooks:
- id: prettier
files: ^(?!.*\b(tfvars|tf|yaml|yml)\b)
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ pip: pip_update ## Compile requirements

.PHONY: pip_update
pip_update: ## Update requirements and dependencies
python3 -m pip install -q -U pip~=23.3.0 pip-tools~=7.3.0 setuptools~=69.0.0 wheel~=0.42.0
python3 -m pip install --quiet --upgrade pip~=23.3.0 pip-tools~=7.3.0 setuptools~=69.0.0 wheel~=0.42.0

.PHONY: precommit
precommit: ## Fix code formatting, linting and sorting imports
Expand Down
6 changes: 3 additions & 3 deletions {{cookiecutter.project_dirname}}/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.4.0"
rev: "v4.5.0"
hooks:
- id: check-added-large-files
args: ["--maxkb=1024"]
Expand All @@ -16,10 +16,10 @@ repos:
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/antonbabenko/pre-commit-terraform
rev: "v1.77.0"
rev: "v1.86.0"
hooks:
- id: terraform_fmt
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v3.0.0-alpha.4"
rev: "v3.1.0"
hooks:
- id: prettier

0 comments on commit 4ad6d02

Please sign in to comment.