mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-05 16:06:14 +02:00
Add and run isort
on Python files (#1520)
* add and run isort * udpate more import statements * fix typo
This commit is contained in:
parent
20254f7434
commit
0f2962a95f
44 changed files with 223 additions and 203 deletions
|
@ -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):
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue