Clean up package imports

This commit is contained in:
Joscha 2019-06-06 14:15:45 +00:00
parent dec73f183f
commit 9c389b64e4
2 changed files with 8 additions and 22 deletions

View file

@ -1,29 +1,17 @@
from typing import List
from .attributed_lines import *
from .attributed_lines_widget import *
from .attributed_text_widget import *
from .config import *
from .exceptions import *
from .cursor_rendering import *
from .element import *
from .element_supply import *
from .markup import *
from .message import *
from .message_editor_widget import *
from .message_supply import *
from .message_tree_widget import *
from .rendered_message_cache import *
from .user_list_widget import *
from .rendered_element_cache import *
__all__: List[str] = []
__all__ += attributed_lines.__all__
__all__ += attributed_lines_widget.__all__
__all__ += attributed_text_widget.__all__
__all__ += config.__all__
__all__ += exceptions.__all__
__all__ += cursor_rendering.__all__
__all__ += element.__all__
__all__ += element_supply.__all__
__all__ += markup.__all__
__all__ += message.__all__
__all__ += message_editor_widget.__all__
__all__ += message_supply.__all__
__all__ += message_tree_widget.__all__
__all__ += rendered_message_cache.__all__
__all__ += user_list_widget.__all__
__all__ += rendered_element_cache.__all__

View file

@ -8,10 +8,8 @@ from .markup import AT, AttributedText, Attributes
__all__ = ["Line", "AttributedLines"]
Line = Tuple[Attributes, AttributedText]
class AttributedLines:
"""
AttributedLines is a list of lines of AttributedText that maintains a