Skip to content

Commit

Permalink
Code formatting fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanslenders committed Dec 8, 2023
1 parent 3e71b1e commit 857af14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/prompt_toolkit/application/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -1545,7 +1545,7 @@ def _ignore(event: E) -> None:

@contextmanager
def attach_winch_signal_handler(
handler: Callable[[], None]
handler: Callable[[], None],
) -> Generator[None, None, None]:
"""
Attach the given callback as a WINCH signal handler within the context
Expand Down
4 changes: 2 additions & 2 deletions src/prompt_toolkit/eventloop/inputhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def fileno(self) -> int:


def new_eventloop_with_inputhook(
inputhook: Callable[[InputHookContext], None]
inputhook: Callable[[InputHookContext], None],
) -> AbstractEventLoop:
"""
Create a new event loop with the given inputhook.
Expand All @@ -77,7 +77,7 @@ def new_eventloop_with_inputhook(


def set_eventloop_with_inputhook(
inputhook: Callable[[InputHookContext], None]
inputhook: Callable[[InputHookContext], None],
) -> AbstractEventLoop:
"""
Create a new event loop with the given inputhook, and activate it.
Expand Down

0 comments on commit 857af14

Please sign in to comment.