From cd1e12a19059d9f90c3849b985230daf0e9b8d90 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Feb 2025 23:57:30 +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: 24.10.0 → 25.1.0](https://github.com/psf/black/compare/24.10.0...25.1.0) - [github.com/PyCQA/pylint: v3.3.3 → v3.3.4](https://github.com/PyCQA/pylint/compare/v3.3.3...v3.3.4) - [github.com/pycqa/isort: 5.13.2 → 6.0.0](https://github.com/pycqa/isort/compare/5.13.2...6.0.0) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 36f4b7a..4c615ac 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,7 @@ ci: repos: - repo: https://github.com/psf/black - rev: 24.10.0 + rev: 25.1.0 hooks: - id: black args: @@ -19,7 +19,7 @@ repos: hooks: - id: flake8 - repo: https://github.com/PyCQA/pylint - rev: v3.3.3 + rev: v3.3.4 hooks: - id: pylint args: @@ -51,7 +51,7 @@ repos: args: - --py36-plus - repo: https://github.com/pycqa/isort - rev: 5.13.2 + rev: 6.0.0 hooks: - id: isort name: isort From 6571bb573d71f3db0b5a9f1f9d4bcd064438494a Mon Sep 17 00:00:00 2001 From: Hinrich Mahler <22366557+Bibo-Joshi@users.noreply.github.com> Date: Tue, 4 Feb 2025 09:35:17 +0100 Subject: [PATCH 2/2] pre-commit fixes --- components/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/util.py b/components/util.py index a80880b..fa10eab 100644 --- a/components/util.py +++ b/components/util.py @@ -101,7 +101,7 @@ async def rate_limit_tracker(_: Update, context: ContextTypes.DEFAULT_TYPE) -> N def rate_limit( - func: Callable[[Update, ContextTypes.DEFAULT_TYPE], Coroutine[Any, Any, None]] + func: Callable[[Update, ContextTypes.DEFAULT_TYPE], Coroutine[Any, Any, None]], ) -> Callable[[Update, ContextTypes.DEFAULT_TYPE], Coroutine[Any, Any, None]]: """ Rate limit command so that RATE_LIMIT_SPACING non-command messages are pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy