From a04bb3caf4f79e4cf045cdcb4fca69043aac028f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 21:15:42 +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/psf/black-pre-commit-mirror: 25.12.0 → 26.1.0](https://github.com/psf/black-pre-commit-mirror/compare/25.12.0...26.1.0) - [github.com/astral-sh/ruff-pre-commit: v0.14.11 → v0.14.13](https://github.com/astral-sh/ruff-pre-commit/compare/v0.14.11...v0.14.13) --- .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 6a0ce7a..b36e86c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,7 @@ repos: - id: check-added-large-files - repo: https://github.com/psf/black-pre-commit-mirror - rev: 25.12.0 + rev: 26.1.0 hooks: - id: black @@ -21,7 +21,7 @@ repos: args: ['--profile', 'black', '--filter-files'] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.14.11 + rev: v0.14.13 hooks: - id: ruff alias: autoformat From 4b88a3e8fc125524d59fbc5d7938e31babade51d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 21:15:49 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- cryptobot/webhook.py | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/cryptobot/webhook.py b/cryptobot/webhook.py index 4454cc2..5fc4774 100644 --- a/cryptobot/webhook.py +++ b/cryptobot/webhook.py @@ -182,9 +182,7 @@ def listen(self): url = f"https://{self.host}:{self.port}{self.url}" logger.info(f"Listening on {url}") - print( - Fore.BLUE - + r""" + print(Fore.BLUE + r""" $$$$$$\ $$\ $$$$$$$\ $$\ $$ __$$\ $$ | $$ __$$\ $$ | $$ / \__| $$$$$$\ $$\ $$\ $$$$$$\ $$$$$$\ $$$$$$\ $$ | $$ | $$$$$$\ $$$$$$\ @@ -196,14 +194,10 @@ def listen(self): $$\ $$ |$$ | \$$$$$$ |$$ | \______/ \__| -""" - ) - print( - Style.RESET_ALL - + f"""[Webhook Listener] +""") + print(Style.RESET_ALL + f"""[Webhook Listener] * Docs: https://help.crypt.bot/crypto-pay-api#Webhook * Listening on {url} (Press CTRL+C to stop) - """ - ) + """) uvicorn.run(self.app, host=self.host, port=self.port, log_level=self.log_level)