From b03009011b4e87dd6c8aa4e61e905ea65a3e9fe5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 Jan 2025 15:44:12 -0800 Subject: [PATCH] chore(pre-commit-deps): pre-commit autoupdate (#314) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(pre-commit-deps): pre-commit autoupdate updates: - [github.com/renovatebot/pre-commit-hooks: 2ee0ea5928cdcc177d354042cd515407fcd1380f → b5bc4954d6edae37b653287734741673cb09a614](https://github.com/renovatebot/pre-commit-hooks/compare/2ee0ea5928cdcc177d354042cd515407fcd1380f...b5bc4954d6edae37b653287734741673cb09a614) - [github.com/python-jsonschema/check-jsonschema: cb3c2be894b151dff143b1baf6acbd55f2b7faed → 62833a79b57fcd1bc372b136911a0edca60c3dcb](https://github.com/python-jsonschema/check-jsonschema/compare/cb3c2be894b151dff143b1baf6acbd55f2b7faed...62833a79b57fcd1bc372b136911a0edca60c3dcb) - [github.com/astral-sh/ruff-pre-commit: 89c421dff2e1026ba12cdb9ebd731f4a83aa8021 → 18ba2d02dcafd1cc608bd83eff6c17fb0108ca71](https://github.com/astral-sh/ruff-pre-commit/compare/89c421dff2e1026ba12cdb9ebd731f4a83aa8021...18ba2d02dcafd1cc608bd83eff6c17fb0108ca71) * refactor: Run ruff format --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Nicholas Felt --- .pre-commit-config.yaml | 6 +++--- actions/update_development_dependencies/main.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dd2730f9..062b1766 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -40,12 +40,12 @@ repos: - id: remove-tabs - id: forbid-tabs - repo: https://github.com/renovatebot/pre-commit-hooks - rev: 2ee0ea5928cdcc177d354042cd515407fcd1380f # frozen: 39.91.3 + rev: b5bc4954d6edae37b653287734741673cb09a614 # frozen: 39.106.1 hooks: - id: renovate-config-validator language_version: 20.18.0 # TODO: remove this line once https://github.com/renovatebot/pre-commit-hooks/issues/2460 is resolved - repo: https://github.com/python-jsonschema/check-jsonschema - rev: cb3c2be894b151dff143b1baf6acbd55f2b7faed # frozen: 0.30.0 + rev: 62833a79b57fcd1bc372b136911a0edca60c3dcb # frozen: 0.31.0 hooks: - id: check-dependabot - id: check-github-actions @@ -137,7 +137,7 @@ repos: always_run: true args: [audit, --json, --ignore-code=CVE-2019-8341] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 89c421dff2e1026ba12cdb9ebd731f4a83aa8021 # frozen: v0.8.6 + rev: 18ba2d02dcafd1cc608bd83eff6c17fb0108ca71 # frozen: v0.9.1 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/actions/update_development_dependencies/main.py b/actions/update_development_dependencies/main.py index 9a422e0e..adf8f777 100644 --- a/actions/update_development_dependencies/main.py +++ b/actions/update_development_dependencies/main.py @@ -52,7 +52,7 @@ def convert_dict_input(input_str: str) -> dict[str, list[str]]: return result_dict # pyright: ignore[reportUnknownVariableType] raise ValueError # noqa: TRY301 except (SyntaxError, ValueError) as e: - msg = f'Input "{input_str}" does not match the required ' f"type of `dict[str, list[str]]`." + msg = f'Input "{input_str}" does not match the required type of `dict[str, list[str]]`.' raise ValueError(msg) from e