Skip to content

Your lightweight open-source personal agent.

style: fix stdlib import ordering in email.py

Xubin Renb98a0aabfc82
diff --git a/nanobot/channels/email.py b/nanobot/channels/email.py
index 15edff490..f0fcdf9a9 100644
--- a/nanobot/channels/email.py
+++ b/nanobot/channels/email.py
@@ -1,7 +1,6 @@
"""Email channel implementation using IMAP polling + SMTP replies."""
import asyncio
-from fnmatch import fnmatch
import html
import imaplib
import re
@@ -13,9 +12,9 @@ from email.header import decode_header, make_header
from email.message import EmailMessage
from email.parser import BytesParser
from email.utils import parseaddr
-from typing import Any
-
+from fnmatch import fnmatch
from pathlib import Path
+from typing import Any
from loguru import logger
from pydantic import Field