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