summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-07-03 10:34:39 +0200
committermathieui <mathieui@mathieui.net>2021-07-03 10:34:39 +0200
commit9e0eccd1ddb224ce023470f69c2187796040fc7f (patch)
tree74c1c372ec49e3f70360f3fd9ed4444104fd2899
parent76963ed3ab9a1ad09d5d7116c4d4a18119792d66 (diff)
downloadpoezio-9e0eccd1ddb224ce023470f69c2187796040fc7f.tar.gz
poezio-9e0eccd1ddb224ce023470f69c2187796040fc7f.tar.bz2
poezio-9e0eccd1ddb224ce023470f69c2187796040fc7f.tar.xz
poezio-9e0eccd1ddb224ce023470f69c2187796040fc7f.zip
fix: remove extra imports in text buffer
-rw-r--r--poezio/text_buffer.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/poezio/text_buffer.py b/poezio/text_buffer.py
index cdc049f1..bcee5989 100644
--- a/poezio/text_buffer.py
+++ b/poezio/text_buffer.py
@@ -13,7 +13,6 @@ from __future__ import annotations
import logging
from typing import (
- cast,
Dict,
List,
Optional,
@@ -23,7 +22,6 @@ from typing import (
)
from dataclasses import dataclass
from datetime import datetime
-from slixmpp import JID
from poezio.config import config
from poezio.ui.types import (
BaseMessage,
@@ -35,6 +33,7 @@ from poezio.ui.types import (
if TYPE_CHECKING:
from poezio.windows.text_win import TextWin
from poezio.user import User
+ from slixmpp import JID
log = logging.getLogger(__name__)