Skip to content

Commit 0cd7d4c

Browse files
[pre-commit.ci] pre-commit autoupdate (#149)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 24.10.0 → 25.1.0](psf/black@24.10.0...25.1.0) - [github.com/PyCQA/pylint: v3.3.3 → v3.3.4](pylint-dev/pylint@v3.3.3...v3.3.4) - [github.com/pycqa/isort: 5.13.2 → 6.0.0](PyCQA/isort@5.13.2...6.0.0) * pre-commit fixes --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Hinrich Mahler <[email protected]>
1 parent d354ec2 commit 0cd7d4c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ci:
88

99
repos:
1010
- repo: https://github.com/psf/black
11-
rev: 24.10.0
11+
rev: 25.1.0
1212
hooks:
1313
- id: black
1414
args:
@@ -19,7 +19,7 @@ repos:
1919
hooks:
2020
- id: flake8
2121
- repo: https://github.com/PyCQA/pylint
22-
rev: v3.3.3
22+
rev: v3.3.4
2323
hooks:
2424
- id: pylint
2525
args:
@@ -51,7 +51,7 @@ repos:
5151
args:
5252
- --py36-plus
5353
- repo: https://github.com/pycqa/isort
54-
rev: 5.13.2
54+
rev: 6.0.0
5555
hooks:
5656
- id: isort
5757
name: isort

components/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ async def rate_limit_tracker(_: Update, context: ContextTypes.DEFAULT_TYPE) -> N
101101

102102

103103
def rate_limit(
104-
func: Callable[[Update, ContextTypes.DEFAULT_TYPE], Coroutine[Any, Any, None]]
104+
func: Callable[[Update, ContextTypes.DEFAULT_TYPE], Coroutine[Any, Any, None]],
105105
) -> Callable[[Update, ContextTypes.DEFAULT_TYPE], Coroutine[Any, Any, None]]:
106106
"""
107107
Rate limit command so that RATE_LIMIT_SPACING non-command messages are

0 commit comments

Comments
 (0)