From 85ccb9e4b165738f94cccc666f726577b6844245 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Oct 2022 21:31:42 +0000 Subject: [PATCH 1/3] chore: [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/asottile/pyupgrade: v2.37.3 → v2.38.2](https://github.com/asottile/pyupgrade/compare/v2.37.3...v2.38.2) - [github.com/pre-commit/mirrors-mypy: v0.971 → v0.981](https://github.com/pre-commit/mirrors-mypy/compare/v0.971...v0.981) - [github.com/nbQA-dev/nbQA: 1.4.0 → 1.5.2](https://github.com/nbQA-dev/nbQA/compare/1.4.0...1.5.2) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e706b3c0c5..19dd198f66 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -27,7 +27,7 @@ repos: exclude: ^validation/|\.dtd$|\.xml$ - repo: https://github.com/asottile/pyupgrade - rev: v2.37.3 + rev: v2.38.2 hooks: - id: pyupgrade args: ["--py37-plus"] @@ -61,7 +61,7 @@ repos: additional_dependencies: [flake8-encodings==0.5.0.post1] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.971 + rev: v0.981 # check the oldest and newest supported Pythons hooks: - &mypy @@ -76,7 +76,7 @@ repos: args: ["--python-version=3.10"] - repo: https://github.com/nbQA-dev/nbQA - rev: 1.4.0 + rev: 1.5.2 hooks: - id: nbqa-pyupgrade additional_dependencies: [pyupgrade==2.37.3] From d1ac6cc5ff2605a3c774c6135c7486894193eab9 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Mon, 3 Oct 2022 17:17:58 -0500 Subject: [PATCH 2/3] Get additional_dependencies --- .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 19dd198f66..964be1bcb5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -79,7 +79,7 @@ repos: rev: 1.5.2 hooks: - id: nbqa-pyupgrade - additional_dependencies: [pyupgrade==2.37.3] + additional_dependencies: [pyupgrade==2.38.2] - repo: https://github.com/codespell-project/codespell rev: v2.2.1 From ea5d90db1d07dad76eb1e2002fc9b7cddc0592e5 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Mon, 3 Oct 2022 17:30:58 -0500 Subject: [PATCH 3/3] Revert mypy back to v0.971 --- .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 964be1bcb5..e054983450 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -61,7 +61,7 @@ repos: additional_dependencies: [flake8-encodings==0.5.0.post1] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.981 + rev: v0.971 # check the oldest and newest supported Pythons hooks: - &mypy