Skip to content

Commit

Permalink
Ruff compatibility: fix import order.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanslenders committed May 27, 2024
1 parent 95afc93 commit 8f68b6c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ptpython/eventloop.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ def _inputhook_tk(inputhook_context: InputHookContext) -> None:
Run the Tk eventloop until prompt-toolkit needs to process the next input.
"""
# Get the current TK application.
import tkinter

import _tkinter # Keep this imports inline!
import tkinter

root = tkinter._default_root # type: ignore

Expand Down

0 comments on commit 8f68b6c

Please sign in to comment.