Skip to content

Commit b51094e

Browse files
authored
Merge pull request #137 from eadwinCode/mypy_1_10
Mypy 1.10.0 upgrade
2 parents cd3b446 + 14116ce commit b51094e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ninja_extra/controllers/model/path_resolver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def __init__(self, path: str, func: t.Callable) -> None:
111111
)
112112
self.as_view = functools.wraps(func)(self.get_view_function())
113113
else:
114-
self.as_view = func
114+
self.as_view = func # type:ignore[assignment]
115115

116116
def get_path_fields(self) -> t.Generator:
117117
for path_name, path_type in self.compiled_path.param_convertors.items():

requirements-tests.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
django-stubs
2-
mypy == 1.9.0
2+
mypy == 1.10.0
33
ninja-schema>=0.13.4
44
pytest
55
pytest-asyncio==0.20.3

0 commit comments

Comments
 (0)