From 29c79b9c466357638f4fc5d84c3354fce1089d84 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 4 Dec 2023 20:01:19 +0000 Subject: [PATCH 1/3] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/adrienverge/yamllint.git: v1.32.0 → v1.33.0](https://github.com/adrienverge/yamllint.git/compare/v1.32.0...v1.33.0) - [github.com/psf/black: 23.10.1 → 23.11.0](https://github.com/psf/black/compare/23.10.1...23.11.0) - [github.com/astral-sh/ruff-pre-commit: v0.1.4 → v0.1.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.4...v0.1.6) - [github.com/nbQA-dev/nbQA: 1.7.0 → 1.7.1](https://github.com/nbQA-dev/nbQA/compare/1.7.0...1.7.1) - [github.com/python-jsonschema/check-jsonschema: 0.27.1 → 0.27.2](https://github.com/python-jsonschema/check-jsonschema/compare/0.27.1...0.27.2) --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f8b3b305e..bc9517870 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,12 +28,12 @@ repos: hooks: - id: toml-sort-fix - repo: https://github.com/adrienverge/yamllint.git - rev: v1.32.0 + rev: v1.33.0 hooks: - id: yamllint args: ['--config-file=.yamllint.yaml'] - repo: https://github.com/psf/black - rev: 23.10.1 + rev: 23.11.0 hooks: - id: black - repo: https://github.com/PyCQA/isort @@ -42,7 +42,7 @@ repos: - id: isort args: ['--settings-file=pyproject.toml'] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.4 + rev: v0.1.6 hooks: - id: ruff - repo: https://github.com/pycqa/flake8 @@ -52,7 +52,7 @@ repos: additional_dependencies: ['flake8-alphabetize', 'flake8-rst-docstrings'] args: ['--config=setup.cfg'] - repo: https://github.com/nbQA-dev/nbQA - rev: 1.7.0 + rev: 1.7.1 hooks: - id: nbqa-black - id: nbqa-pyupgrade @@ -72,7 +72,7 @@ repos: exclude: '(xclim/indices/__init__.py|docs/installation.rst)' additional_dependencies: ['black==23.10.1'] - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.27.1 + rev: 0.27.2 hooks: - id: check-github-workflows - id: check-readthedocs From 4a9187ddc845ac71f2e535cb5c187011b0d5b3cd Mon Sep 17 00:00:00 2001 From: Trevor James Smith <10819524+Zeitsperre@users.noreply.github.com> Date: Mon, 4 Dec 2023 15:27:16 -0500 Subject: [PATCH 2/3] Update .pre-commit-config.yaml --- .pre-commit-config.yaml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bc9517870..f3d3042a1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,10 +18,10 @@ repos: - id: check-json - id: check-toml - id: check-yaml - args: ['--allow-multiple-documents'] + args: [ '--allow-multiple-documents' ] - id: debug-statements - id: pretty-format-json - args: ['--autofix', '--no-ensure-ascii', '--no-sort-keys'] + args: [ '--autofix', '--no-ensure-ascii', '--no-sort-keys' ] exclude: '.ipynb' - repo: https://github.com/pappasam/toml-sort rev: v0.23.1 @@ -31,8 +31,8 @@ repos: rev: v1.33.0 hooks: - id: yamllint - args: ['--config-file=.yamllint.yaml'] -- repo: https://github.com/psf/black + args: [ '--config-file=.yamllint.yaml' ] +- repo: https://github.com/psf/black-precommit-mirror rev: 23.11.0 hooks: - id: black @@ -40,7 +40,6 @@ repos: rev: 5.12.0 hooks: - id: isort - args: ['--settings-file=pyproject.toml'] - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.1.6 hooks: @@ -49,28 +48,28 @@ repos: rev: 6.1.0 hooks: - id: flake8 - additional_dependencies: ['flake8-alphabetize', 'flake8-rst-docstrings'] - args: ['--config=setup.cfg'] + additional_dependencies: [ 'flake8-alphabetize', 'flake8-rst-docstrings '] + args: [ '--config=setup.cfg' ] - repo: https://github.com/nbQA-dev/nbQA rev: 1.7.1 hooks: - id: nbqa-black + additional_dependencies: [ 'black==23.11.0' ] - id: nbqa-pyupgrade - args: ['--py38-plus'] + args: [ '--py38-plus' ] - id: nbqa-isort - args: ['--settings-file=pyproject.toml'] - repo: https://github.com/kynan/nbstripout rev: 0.6.1 hooks: - id: nbstripout files: '.ipynb' - args: [ "--extra-keys", "metadata.kernelspec" ] + args: [ '--extra-keys', 'metadata.kernelspec' ] - repo: https://github.com/keewis/blackdoc rev: v0.3.9 hooks: - id: blackdoc exclude: '(xclim/indices/__init__.py|docs/installation.rst)' - additional_dependencies: ['black==23.10.1'] + additional_dependencies: [ 'black==23.11.0' ] - repo: https://github.com/python-jsonschema/check-jsonschema rev: 0.27.2 hooks: From 1ea2cc6ece6cb68800a9384745160b03d595a19c Mon Sep 17 00:00:00 2001 From: Trevor James Smith <10819524+Zeitsperre@users.noreply.github.com> Date: Mon, 4 Dec 2023 15:28:01 -0500 Subject: [PATCH 3/3] typo fix --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f3d3042a1..8d7e4c222 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,7 +32,7 @@ repos: hooks: - id: yamllint args: [ '--config-file=.yamllint.yaml' ] -- repo: https://github.com/psf/black-precommit-mirror +- repo: https://github.com/psf/black-pre-commit-mirror rev: 23.11.0 hooks: - id: black