diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c1a48b23..5ebc9143 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,12 +1,13 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v1.4.0 + rev: v4.6.0 # pre-commit-hooks version hooks: - id: check-added-large-files - args: ["--maxkb=2000"] - id: detect-private-key - id: trailing-whitespace - id: end-of-file-fixer + - id: check-merge-conflict + - id: detect-aws-credentials - repo: https://github.com/psf/black rev: 23.7.0 hooks: @@ -34,3 +35,4 @@ repos: rev: "v2.7.1" hooks: - id: prettier +minimum_pre_commit_version: 3.7.1 diff --git a/server/pyproject.toml b/server/pyproject.toml index 03509fca..05ca9a24 100644 --- a/server/pyproject.toml +++ b/server/pyproject.toml @@ -43,7 +43,7 @@ dev = [ "psycopg2-binary", "ruff", "black", - "pre-commit", + "pre-commit>=3.7.1", "gene-normalizer ~= 0.1.39", "pydantic-to-typescript", ]