Skip to content

Commit fb8c506

Browse files
committed
lint checker please accept my code (reordered imports and rewritten args)
1 parent a669149 commit fb8c506

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

devtools/debug.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
MYPY = False
1111
if MYPY:
1212
from types import FrameType
13-
from typing import Any, Generator, List, Optional, Union, Callable
13+
from typing import Any, Callable, Generator, List, Optional, Union
1414

1515
pformat = PrettyFormat(
1616
indent_step=int(os.getenv('PY_DEVTOOLS_INDENT', 4)),
@@ -108,7 +108,13 @@ 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: 'Optional[Callable[[str], None]]' = None):
111+
def __init__(
112+
self,
113+
*,
114+
warnings: 'Optional[bool]' = None,
115+
highlight: 'Optional[bool]' = None,
116+
logger_function: 'Optional[Callable[[str], None]]' = None,
117+
):
112118
self._show_warnings = env_bool(warnings, 'PY_DEVTOOLS_WARNINGS', True)
113119
self._highlight = highlight
114120
self._logger_function = logger_function

0 commit comments

Comments
 (0)