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/setup.cfg b/server/setup.cfg index cb825e63..f5a8b3ad 100644 --- a/server/setup.cfg +++ b/server/setup.cfg @@ -35,7 +35,7 @@ dev = psycopg2-binary ruff black - pre-commit + pre-commit >= 3.7.1 gene-normalizer ~= 0.1.39 pydantic-to-typescript