From b98a0aabfc82eca79c196d24493824424bd6078d Mon Sep 17 00:00:00 2001 From: Xubin Ren Date: Mon, 6 Apr 2026 06:45:40 +0000 Subject: [PATCH] style: fix stdlib import ordering in email.py Made-with: Cursor --- nanobot/channels/email.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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