Add and run isort on Python files (#1520)

* add and run isort

* udpate more import statements

* fix typo
This commit is contained in:
Jonathan Wren 2022-06-25 14:43:32 -07:00 committed by GitHub
parent 20254f7434
commit 0f2962a95f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
44 changed files with 223 additions and 203 deletions

View file

@ -1,11 +1,11 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from typing import NamedTuple
from typing import Mapping
from typing import NamedTuple
from .MsgText import MsgText
from .MsgStyle import MsgStyle
from jrnl.messages.MsgStyle import MsgStyle
from jrnl.messages.MsgText import MsgText
class Message(NamedTuple):

View file

@ -2,12 +2,13 @@
# License: https://www.gnu.org/licenses/gpl-3.0.html
from enum import Enum
from typing import NamedTuple
from typing import Callable
from rich.panel import Panel
from rich import box
from typing import NamedTuple
from .MsgText import MsgText
from rich import box
from rich.panel import Panel
from jrnl.messages.MsgText import MsgText
class MsgStyle(Enum):

View file

@ -1,9 +1,9 @@
# Copyright (C) 2012-2022 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from .Message import Message
from .MsgStyle import MsgStyle
from .MsgText import MsgText
from jrnl.messages.Message import Message
from jrnl.messages.MsgStyle import MsgStyle
from jrnl.messages.MsgText import MsgText
Message = Message
MsgStyle = MsgStyle