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"