From 4a28ce0153742e2f8b7d0cff1ea54b1c2c6ea006 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 11 Sep 2023 19:27:04 +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/psf/black: 23.7.0 → 23.9.1](https://github.com/psf/black/compare/23.7.0...23.9.1) - [github.com/python-jsonschema/check-jsonschema: 0.24.1 → 0.26.3](https://github.com/python-jsonschema/check-jsonschema/compare/0.24.1...0.26.3) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6e70e93c..08c783a6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,7 +30,7 @@ repos: hooks: - id: toml-sort-fix - repo: https://github.com/psf/black - rev: 23.7.0 + rev: 23.9.1 hooks: - id: black exclude: ^docs/ @@ -69,7 +69,7 @@ repos: - id: yamllint args: [ '--config-file=.yamllint.yaml' ] - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.24.1 + rev: 0.26.3 hooks: - id: check-github-workflows - id: check-readthedocs From 7b5b25147a9452709238aedc34f7b224c26fcfcd Mon Sep 17 00:00:00 2001 From: Zeitsperre <10819524+Zeitsperre@users.noreply.github.com> Date: Fri, 15 Sep 2023 16:08:18 -0400 Subject: [PATCH 2/3] update deps and skip notebook formatting --- .pre-commit-config.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 08c783a6..b01951e7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,6 +20,7 @@ repos: - id: debug-statements - id: pretty-format-json args: [ '--autofix', '--no-ensure-ascii', '--no-sort-keys' ] + exclude: .ipynb - repo: https://github.com/pre-commit/pygrep-hooks rev: v1.10.0 hooks: @@ -38,7 +39,7 @@ repos: rev: 6.1.0 hooks: - id: flake8 - args: [ --config=setup.cfg ] + args: [ '--config=setup.cfg' ] - repo: https://github.com/PyCQA/isort rev: 5.12.0 hooks: @@ -48,9 +49,9 @@ repos: hooks: - id: nbqa-pyupgrade args: [ --py38-plus ] - additional_dependencies: [ 'pyupgrade==3.3.1' ] + additional_dependencies: [ 'pyupgrade==3.10.1' ] - id: nbqa-black - additional_dependencies: [ 'black==23.3.0' ] + additional_dependencies: [ 'black==23.9.1' ] - id: nbqa-isort additional_dependencies: [ 'isort==5.12.0' ] - repo: https://github.com/pycqa/pydocstyle @@ -62,7 +63,7 @@ repos: rev: v0.3.8 hooks: - id: blackdoc - additional_dependencies: [ 'black==23.3.0' ] + additional_dependencies: [ 'black==23.9.1' ] - repo: https://github.com/adrienverge/yamllint.git rev: v1.32.0 hooks: From a4811f8550f1530fa9c1b237fb303614a199b74a Mon Sep 17 00:00:00 2001 From: Zeitsperre <10819524+Zeitsperre@users.noreply.github.com> Date: Fri, 15 Sep 2023 16:13:47 -0400 Subject: [PATCH 3/3] black mirror (Un! Deux! Trois! Dis: miroir noir!) --- .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 b01951e7..1b8b6188 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,7 +30,7 @@ repos: rev: v0.23.1 hooks: - id: toml-sort-fix - - repo: https://github.com/psf/black + - repo: https://github.com/psf/black-pre-commit-mirror rev: 23.9.1 hooks: - id: black