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 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)