Skip to content

Commit e614974

Browse files
[pre-commit.ci] pre-commit autoupdate (#158)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/PyCQA/pylint: v3.3.9 → v4.0.2](pylint-dev/pylint@v3.3.9...v4.0.2) - [github.com/asottile/pyupgrade: v3.20.0 → v3.21.0](asottile/pyupgrade@v3.20.0...v3.21.0) - [github.com/pycqa/isort: 6.1.0 → 7.0.0](PyCQA/isort@6.1.0...7.0.0) * fix lint error (#159) --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Pablo Martínez <58857054+elpekenin@users.noreply.github.com>
1 parent a4e8291 commit e614974

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repos:
1919
hooks:
2020
- id: flake8
2121
- repo: https://github.com/PyCQA/pylint
22-
rev: v3.3.9
22+
rev: v4.0.2
2323
hooks:
2424
- id: pylint
2525
args:
@@ -45,13 +45,13 @@ repos:
4545
- gql[aiohttp]~=3.5.0
4646
- async-lru~=1.0.3
4747
- repo: https://github.com/asottile/pyupgrade
48-
rev: v3.20.0
48+
rev: v3.21.0
4949
hooks:
5050
- id: pyupgrade
5151
args:
5252
- --py36-plus
5353
- repo: https://github.com/pycqa/isort
54-
rev: 6.1.0
54+
rev: 7.0.0
5555
hooks:
5656
- id: isort
5757
name: isort

components/taghints.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@
302302

303303

304304
# Sort the hints by key
305-
_TAG_HINTS = dict(sorted(_TAG_HINTS.items()))
305+
_TAG_HINTS_SORTED = dict(sorted(_TAG_HINTS.items()))
306306
# convert into proper objects
307307
TAG_HINTS: Dict[str, TagHint] = {
308308
key: TagHint(
@@ -313,7 +313,7 @@
313313
inline_keyboard=InlineKeyboardMarkup(value["buttons"]) if "buttons" in value else None,
314314
group_command=value.get("group_command", False),
315315
)
316-
for key, value in _TAG_HINTS.items()
316+
for key, value in _TAG_HINTS_SORTED.items()
317317
}
318318
TAG_HINTS_PATTERN = re.compile(
319319
# case insensitive

0 commit comments

Comments
 (0)