Skip to content

Commit a669149

Browse files
committed
Optional cuz of mypy
1 parent edf6d11 commit a669149

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devtools/debug.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def __repr__(self) -> StrType:
108108
class Debug:
109109
output_class = DebugOutput
110110

111-
def __init__(self, *, warnings: 'Optional[bool]' = None, highlight: 'Optional[bool]' = None, logger_function: 'Callable[[str], None]' = None):
111+
def __init__(self, *, warnings: 'Optional[bool]' = None, highlight: 'Optional[bool]' = None, logger_function: 'Optional[Callable[[str], None]]' = None):
112112
self._show_warnings = env_bool(warnings, 'PY_DEVTOOLS_WARNINGS', True)
113113
self._highlight = highlight
114114
self._logger_function = logger_function

0 commit comments

Comments
 (0)