Skip to content

Commit d1891d2

Browse files
Ben-Regsebastinas
authored andcommitted
formatted with black
1 parent 7d4f80d commit d1891d2

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

bpython/curtsiesfrontend/repl.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,17 @@
1313
import unicodedata
1414
from enum import Enum
1515
from types import TracebackType
16-
from typing import Dict, Any, List, Optional, Tuple, Union, cast, Type, TYPE_CHECKING
16+
from typing import (
17+
Dict,
18+
Any,
19+
List,
20+
Optional,
21+
Tuple,
22+
Union,
23+
cast,
24+
Type,
25+
TYPE_CHECKING,
26+
)
1727
from .._typing_compat import Literal
1828

1929
if TYPE_CHECKING:
@@ -362,7 +372,7 @@ def __init__(
362372
logger.debug("starting parent init")
363373
# interp is a subclass of repl.Interpreter, so it definitely,
364374
# implements the methods of Interpreter!
365-
super().__init__(cast('Interpreter', interp), config)
375+
super().__init__(cast("Interpreter", interp), config)
366376

367377
self.formatter = BPythonFormatter(config.color_scheme)
368378

bpython/repl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ def clear(self) -> None:
369369

370370

371371
class Interaction:
372-
def __init__(self, config: Config, statusbar: Optional['Statusbar'] = None):
372+
def __init__(self, config: Config, statusbar: Optional["Statusbar"] = None):
373373
self.config = config
374374

375375
if statusbar:

0 commit comments

Comments
 (0)