Skip to content

Commit ef58386

Browse files
committed
update pre-commit
* update files failing
1 parent cbf8a74 commit ef58386

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
repos:
22
- repo: https://github.com/charliermarsh/ruff-pre-commit
3-
rev: v0.5.0
3+
rev: v0.6.9
44
hooks:
55
- id: ruff
66
args: [ --fix ]
77
- id: ruff-format
88
- repo: https://github.com/pre-commit/mirrors-mypy
9-
rev: v1.10.1
9+
rev: v1.11.2
1010
hooks:
1111
- id: mypy
1212
additional_dependencies:

beanie/odm/queries/find.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ def __await__(
10301030
document = yield from self._find_one().__await__() # type: ignore
10311031
if document is None:
10321032
return None
1033-
if type(document) == self.projection_model:
1033+
if type(document) is self.projection_model:
10341034
return cast(FindQueryResultType, document)
10351035
return cast(
10361036
FindQueryResultType, parse_obj(self.projection_model, document)

0 commit comments

Comments
 (0)