From a62a7ed5b33ee08fab05497c5766f58204c0ccac 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:41:38 +0000 Subject: [PATCH 1/3] chore: update pre-commit hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [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) - [github.com/pre-commit/mirrors-prettier: v3.0.3 → v4.0.0-alpha.3](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.3...v4.0.0-alpha.3) - [github.com/pre-commit/mirrors-mypy: v1.6.1 → v1.7.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.6.1...v1.7.1) - [github.com/astral-sh/ruff-pre-commit: v0.1.5 → v0.1.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.5...v0.1.6) - [github.com/scientific-python/cookie: 2023.10.27 → 2023.11.17](https://github.com/scientific-python/cookie/compare/2023.10.27...2023.11.17) --- .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 9d3580ed..2ac1a48d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,7 +21,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.27.1 + rev: 0.27.2 hooks: - id: check-github-workflows @@ -31,13 +31,13 @@ repos: - id: mdformat - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v3.0.3" + rev: "v4.0.0-alpha.3" hooks: - id: prettier types_or: [yaml, html, json] - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.6.1" + rev: "v1.7.1" hooks: - id: mypy files: jupyter_client @@ -66,7 +66,7 @@ repos: - id: rst-inline-touching-normal - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.5 + rev: v0.1.6 hooks: - id: ruff types_or: [python, jupyter] @@ -75,7 +75,7 @@ repos: types_or: [python, jupyter] - repo: https://github.com/scientific-python/cookie - rev: "2023.10.27" + rev: "2023.11.17" hooks: - id: sp-repo-review additional_dependencies: ["repo-review[cli]"] From 102fdc1a36c5c8e757231d2e25c317a2acd6904e Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Sun, 10 Dec 2023 08:23:29 -0600 Subject: [PATCH 2/3] update version --- .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 2ac1a48d..4e593929 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,7 +31,7 @@ repos: - id: mdformat - repo: https://github.com/pre-commit/mirrors-prettier - rev: "v4.0.0-alpha.3" + rev: "v3.0.3" hooks: - id: prettier types_or: [yaml, html, json] From c75b09601b6f3abd404b42b4babeca6a72c92707 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Sun, 10 Dec 2023 08:24:32 -0600 Subject: [PATCH 3/3] lint --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 38ea8b70..c2be8205 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -165,7 +165,6 @@ enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"] no_implicit_reexport = false pretty = true show_error_context = true -show_error_codes = true warn_return_any = false warn_unreachable = true @@ -280,4 +279,4 @@ fail-under=90 exclude = ["docs", "test"] [tool.repo-review] -ignore = ["PY007", "PP308", "GH102"] +ignore = ["GH102"]