From 381d97ca6b4e38c7e2404702053e8597a0612336 Mon Sep 17 00:00:00 2001 From: James Stevenson Date: Mon, 15 Jul 2024 14:54:26 -0400 Subject: [PATCH] cicd: update precommit (#427) --- .pre-commit-config.yaml | 3 ++- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0bbbda6b..a774ac37 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ 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 - id: detect-private-key @@ -12,3 +12,4 @@ repos: - id: ruff-format - id: ruff args: [ --fix, --exit-non-zero-on-fix ] +minimum_pre_commit_version: 3.7.1 diff --git a/pyproject.toml b/pyproject.toml index 9b0465e2..e35f971c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,7 @@ etl = [ "rich" ] test = ["pytest", "pytest-cov", "pytest-mock"] -dev = ["pre-commit", "ruff==0.5.0", "lxml", "xmlformatter", "types-pyyaml"] +dev = ["pre-commit>=3.7.1", "ruff==0.5.0", "lxml", "xmlformatter", "types-pyyaml"] [project.urls] Homepage = "https://github.com/cancervariants/therapy-normalization"