From 3604a9b129b96a90ce69e5480beda663117d2aac Mon Sep 17 00:00:00 2001 From: David Carreto Fidalgo Date: Fri, 27 Oct 2023 20:28:00 +0200 Subject: [PATCH] fix: bump up pre-commit version in environment_dev.yml (#4045) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # Argilla Community Growers Thanks for your contribution! As part of our Community Growers initiative 🌱, we're donating Justdiggit bunds in your name to reforest sub-Saharan Africa. To claim your Community Growers certificate, please contact David Berenstein in our Slack community or fill in this form https://tally.so/r/n9XrxK once your PR has been merged. # Pull Request Templates Please go the the `Preview` tab and select the appropriate sub-template: * [🐞-bug](?expand=1&template=bug.md) * [📚-documentation](?expand=1&template=docs.md) * [🆕-features](?expand=1&template=features.md) I tried to select "bug", but it didn't work for me ... maybe too tired. # Generic Pull Request Template I created a new conda env with the `environment_dev.yml` and encountered [this issue](https://github.com/Lucas-C/pre-commit-hooks/issues/83). Bumping up the pre-commit version fixes it. Closes # **Type of change** (Please delete options that are not relevant. Remember to title the PR according to the type of change) - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] Refactor (change restructuring the codebase without changing functionality) - [ ] Improvement (change adding some improvement to an existing functionality) - [ ] Documentation update **How Has This Been Tested** (Please describe the tests that you ran to verify your changes. And ideally, reference `tests`) - [ ] Test A - [ ] Test B **Checklist** - [ ] I added relevant documentation - [ ] follows the style guidelines of this project - [ ] I did a self-review of my code - [ ] I made corresponding changes to the documentation - [ ] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I filled out [the contributor form](https://tally.so/r/n9XrxK) (see text above) - [ ] I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/) --- environment_dev.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment_dev.yml b/environment_dev.yml index 73370bd172..49223ab2ad 100644 --- a/environment_dev.yml +++ b/environment_dev.yml @@ -33,7 +33,7 @@ dependencies: - sphinx-copybutton==0.5.0 - sphinx-notfound-page==0.8.3 # code formatting - - pre-commit~=2.15.0 + - pre-commit~=3.2.0 # extra test dependencies - cleanlab~=2.0.0 # With this version, tests are failing - datasets>1.17.0,!= 2.3.2 # TODO: push_to_hub fails up to 2.3.2, check patches when they come out eventually