Skip to content

Commit 857af14

Browse files
Code formatting fixes.
1 parent 3e71b1e commit 857af14

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/prompt_toolkit/application/application.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1545,7 +1545,7 @@ def _ignore(event: E) -> None:
15451545

15461546
@contextmanager
15471547
def attach_winch_signal_handler(
1548-
handler: Callable[[], None]
1548+
handler: Callable[[], None],
15491549
) -> Generator[None, None, None]:
15501550
"""
15511551
Attach the given callback as a WINCH signal handler within the context

src/prompt_toolkit/eventloop/inputhook.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def fileno(self) -> int:
6666

6767

6868
def new_eventloop_with_inputhook(
69-
inputhook: Callable[[InputHookContext], None]
69+
inputhook: Callable[[InputHookContext], None],
7070
) -> AbstractEventLoop:
7171
"""
7272
Create a new event loop with the given inputhook.
@@ -77,7 +77,7 @@ def new_eventloop_with_inputhook(
7777

7878

7979
def set_eventloop_with_inputhook(
80-
inputhook: Callable[[InputHookContext], None]
80+
inputhook: Callable[[InputHookContext], None],
8181
) -> AbstractEventLoop:
8282
"""
8383
Create a new event loop with the given inputhook, and activate it.

0 commit comments

Comments
 (0)