From 84b5921d0c4ab44c4ce92fc5ab863e3a4865ee87 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 21:17:50 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.1 → v0.4.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.1...v0.4.2) --- .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 5dad6a5..3f25c2c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: ] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.1 + rev: v0.4.2 hooks: - id: ruff - id: ruff-format From cc9db8fa93ca825c3f552b61ecb8728c48fc771f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 21:17:58 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- signal_webhooks/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/signal_webhooks/utils.py b/signal_webhooks/utils.py index b52d647..7eca2d8 100644 --- a/signal_webhooks/utils.py +++ b/signal_webhooks/utils.py @@ -73,7 +73,7 @@ def decode_cipher_key(value: str = "") -> bytes: except TypeError as error: msg = "Cipher key not set." raise ValidationError(msg) from error - except Exception as error: # noqa: BLE001 + except Exception as error: msg = "Invalid cipher key." raise ValidationError(msg) from error