Skip to content

Commit 94bda61

Browse files
committed
Apply black
1 parent 562ad3f commit 94bda61

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

bpython/curtsiesfrontend/repl.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ def process_key_event(self, e: str) -> None:
816816

817817
def is_closing_quote(self, e: str) -> bool:
818818
char_count = self._current_line.count(e)
819-
return (
819+
return (
820820
char_count % 2 == 0
821821
and cursor_on_closing_char_pair(
822822
self._cursor_offset, self._current_line, e
@@ -843,7 +843,9 @@ def insert_char_pair_start(self, e):
843843
else self._current_line[self._cursor_offset]
844844
)
845845
if start_of_line or end_of_line or next_char in "})] ":
846-
self.add_normal_character(CHARACTER_PAIR_MAP[e], narrow_search=False)
846+
self.add_normal_character(
847+
CHARACTER_PAIR_MAP[e], narrow_search=False
848+
)
847849
self._cursor_offset -= 1
848850

849851
def insert_char_pair_end(self, e):

0 commit comments

Comments
 (0)