From 51d6dd45a0b525c75ad4a328376750eff4beba4c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Apr 2024 12:49:00 +0000 Subject: [PATCH 1/2] Bump black from 24.3.0 to 24.4.0 Bumps [black](https://github.com/psf/black) from 24.3.0 to 24.4.0. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/24.3.0...24.4.0) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d5a61354d..20ea95e52 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,7 +55,7 @@ dependencies = [ [project.optional-dependencies] dev = [ # Dev tools and testing - "black ==24.3.0", + "black ==24.4.0", "blackdoc ==0.3.9", "bump-my-version >=0.17.1", "codespell", From 08122a768c278397c5c8bd285d6717360c89303e Mon Sep 17 00:00:00 2001 From: Trevor James Smith <10819524+Zeitsperre@users.noreply.github.com> Date: Tue, 16 Apr 2024 09:32:45 -0400 Subject: [PATCH 2/2] Update .pre-commit-config.yaml --- .pre-commit-config.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 80a94f490..bb45a186c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -33,7 +33,7 @@ repos: - id: yamllint args: [ '--config-file=.yamllint.yaml' ] - repo: https://github.com/psf/black-pre-commit-mirror - rev: 24.3.0 + rev: 24.4.0 hooks: - id: black - repo: https://github.com/PyCQA/isort @@ -60,9 +60,11 @@ repos: hooks: - id: nbqa-pyupgrade args: [ '--py39-plus' ] + additional_dependencies: [ 'pyupgrade==3.15.2' ] - id: nbqa-black - additional_dependencies: [ 'black==24.3.0' ] + additional_dependencies: [ 'black==24.4.0' ] - id: nbqa-isort + additional_dependencies: [ 'isort==5.13.2' ] - repo: https://github.com/kynan/nbstripout rev: 0.7.1 hooks: @@ -73,7 +75,7 @@ repos: rev: v0.3.9 hooks: - id: blackdoc - additional_dependencies: [ 'black==24.3.0' ] + additional_dependencies: [ 'black==24.4.0' ] exclude: '(xclim/indices/__init__.py|docs/installation.rst)' - repo: https://github.com/codespell-project/codespell rev: v2.2.6