Skip to content

Commit 2663959

Browse files
committed
Fixed mypy CI failing test
1 parent 696f116 commit 2663959

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)