From bd8346c5937934397dc0ab85662cc1152b9d6906 Mon Sep 17 00:00:00 2001 From: Amrit Krishnan Date: Mon, 18 Nov 2024 20:55:49 -0500 Subject: [PATCH] Update pre-commit (#704) * Update pre-commit * Don't update everything --- poetry.lock | 12 ++++++------ pyproject.toml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/poetry.lock b/poetry.lock index af73c55f1..da620c98c 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.4 and should not be changed by hand. [[package]] name = "aiofiles" @@ -5802,13 +5802,13 @@ files = [ [[package]] name = "pre-commit" -version = "2.21.0" +version = "4.0.1" description = "A framework for managing and maintaining multi-language pre-commit hooks." optional = false -python-versions = ">=3.7" +python-versions = ">=3.9" files = [ - {file = "pre_commit-2.21.0-py2.py3-none-any.whl", hash = "sha256:e2f91727039fc39a92f58a588a25b87f936de6567eed4f0e673e0507edc75bad"}, - {file = "pre_commit-2.21.0.tar.gz", hash = "sha256:31ef31af7e474a8d8995027fefdfcf509b5c913ff31f2015b4ec4beb26a6f658"}, + {file = "pre_commit-4.0.1-py2.py3-none-any.whl", hash = "sha256:efde913840816312445dc98787724647c65473daefe420785f885e8ed9a06878"}, + {file = "pre_commit-4.0.1.tar.gz", hash = "sha256:80905ac375958c0444c65e9cebebd948b3cdb518f335a091a670a89d652139d2"}, ] [package.dependencies] @@ -9964,4 +9964,4 @@ xgboost = ["xgboost"] [metadata] lock-version = "2.0" python-versions = ">=3.9, <3.12" -content-hash = "99b6417126f07e7511eddc430b930f654ea8c7f24102d8860cd01867b7f855c0" +content-hash = "ba75436c7e8c214487026714332f9116cebd432babb21c1744b2de833c5752b6" diff --git a/pyproject.toml b/pyproject.toml index 5fa586173..6b3a1c76e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -94,7 +94,7 @@ optional = true [tool.poetry.group.test.dependencies] pytest = "^7.1.1" -pre-commit = "^2.17.0" +pre-commit = "^4.0.0" pytest-cov = "^3.0.0" codecov = "^2.1.13" nbstripout = "^0.6.1"