Skip to content

Commit 2da191d

Browse files
authored
Merge pull request #225 from eadwinCode/mypy_fix
fix: MyPy 1.14.1 support
2 parents 696f116 + 2663959 commit 2da191d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ninja_extra/controllers/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ def __call__(self, cls: ControllerClassType) -> ControllerClassType:
458458
fail_silently(inject, constructor_or_class=cls)
459459

460460
ControllerRegistry().add_controller(cls)
461-
return cls # type:ignore[return-value]
461+
return cls
462462

463463
@property
464464
def path_operations(self) -> Dict[str, PathView]:

0 commit comments

Comments
 (0)