diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bf1116a..c8b60df 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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) diff --git a/Makefile b/Makefile index b8a75cb..44ce79a 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/{{cookiecutter.project_dirname}}/.pre-commit-config.yaml b/{{cookiecutter.project_dirname}}/.pre-commit-config.yaml index 4543e9b..23407a2 100644 --- a/{{cookiecutter.project_dirname}}/.pre-commit-config.yaml +++ b/{{cookiecutter.project_dirname}}/.pre-commit-config.yaml @@ -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"] @@ -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