From 7f1fe2477bda86a6c014ff9225b46188aab8dc33 Mon Sep 17 00:00:00 2001 From: James Stevenson Date: Fri, 12 Jul 2024 14:50:11 -0400 Subject: [PATCH] cicd: update precommit --- .pre-commit-config.yaml | 6 ++++-- server/setup.cfg | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) 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