Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
joouha committed Mar 26, 2022
1 parent 7de5e48 commit 439d9be
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/prompt_toolkit/formatted_text/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
to_formatted_text,
)
from .html import HTML

from .markdown import Markdown
from .pygments import PygmentsTokens
from .utils import (
Expand Down
2 changes: 1 addition & 1 deletion src/prompt_toolkit/formatted_text/markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
to_plain_text,
)

from .base import StyleAndTextTuples
from .utils import (
FormattedTextAlign,
add_border,
Expand All @@ -39,7 +40,6 @@

from markdown_it.token import Token

from prompt_toolkit.formatted_text.base import StyleAndTextTuples

# Check for markdown-it-py
markdown_parser: Optional["MarkdownIt"] = None
Expand Down
2 changes: 1 addition & 1 deletion src/prompt_toolkit/widgets/menus.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from typing import Callable, Iterable, List, Optional, Sequence, Union

from prompt_toolkit.application.current import get_app
from prompt_toolkit.border import SquareBorder as Border
from prompt_toolkit.filters import Condition
from prompt_toolkit.formatted_text.base import OneStyleAndTextTuple, StyleAndTextTuples
from prompt_toolkit.key_binding.key_bindings import KeyBindings, KeyBindingsBase
Expand All @@ -19,7 +20,6 @@
from prompt_toolkit.mouse_events import MouseEvent, MouseEventType
from prompt_toolkit.utils import get_cwidth
from prompt_toolkit.widgets import Shadow
from prompt_toolkit.border import SquareBorder as Border

__all__ = [
"MenuContainer",
Expand Down

0 comments on commit 439d9be

Please sign in to comment.