File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/charliermarsh/ruff-pre-commit
3
- rev : v0.5.0
3
+ rev : v0.6.9
4
4
hooks :
5
5
- id : ruff
6
6
args : [ --fix ]
7
7
- id : ruff-format
8
8
- repo : https://github.com/pre-commit/mirrors-mypy
9
- rev : v1.10.1
9
+ rev : v1.11.2
10
10
hooks :
11
11
- id : mypy
12
12
additional_dependencies :
Original file line number Diff line number Diff line change @@ -1030,7 +1030,7 @@ def __await__(
1030
1030
document = yield from self ._find_one ().__await__ () # type: ignore
1031
1031
if document is None :
1032
1032
return None
1033
- if type (document ) == self .projection_model :
1033
+ if type (document ) is self .projection_model :
1034
1034
return cast (FindQueryResultType , document )
1035
1035
return cast (
1036
1036
FindQueryResultType , parse_obj (self .projection_model , document )
You can’t perform that action at this time.
0 commit comments