Skip to content

Commit 14f025a

Browse files
pre-commit autoupdate (#125)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/psf/black: 23.10.1 → 23.11.0](psf/black@23.10.1...23.11.0) - [github.com/pre-commit/mirrors-mypy: v1.6.1 → v1.7.1](pre-commit/mirrors-mypy@v1.6.1...v1.7.1) * fix precomit --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Aditya <adityayadav11082@gmail.com>
1 parent e28575e commit 14f025a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 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: 23.10.1
11+
rev: 23.11.0
1212
hooks:
1313
- id: black
1414
args:
@@ -33,7 +33,7 @@ repos:
3333
- gql[aiohttp]~=3.3.0
3434
- async-lru~=1.0.3
3535
- repo: https://github.com/pre-commit/mirrors-mypy
36-
rev: v1.6.1
36+
rev: v1.7.1
3737
hooks:
3838
- id: mypy
3939
additional_dependencies:

components/search.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,13 +324,13 @@ async def search(
324324
if not amount:
325325
return sorted(
326326
search_entries,
327-
key=lambda entry: self._sort_key(entry, search_query), # type: ignore
327+
key=lambda entry: self._sort_key(entry, search_query),
328328
reverse=True,
329329
)
330330
return heapq.nlargest(
331331
amount,
332332
search_entries,
333-
key=lambda entry: self._sort_key(entry, search_query), # type: ignore[arg-type]
333+
key=lambda entry: self._sort_key(entry, search_query),
334334
)
335335

336336
@alru_cache(maxsize=64) # type: ignore[misc]

0 commit comments

Comments
 (0)