diff --git a/django-stubs/core/management/base.pyi b/django-stubs/core/management/base.pyi index 1e7d066..fc3d34b 100644 --- a/django-stubs/core/management/base.pyi +++ b/django-stubs/core/management/base.pyi @@ -39,7 +39,7 @@ class DjangoHelpFormatter(HelpFormatter): class OutputWrapper(TextIOBase): @property - def style_func(self) -> Optional[Callable[[str], str]]: ... + def style_func(self) -> Callable[[str], str]: ... @style_func.setter def style_func(self, style_func: Optional[Callable[[str], str]]) -> None: ... ending: str = ...