From e37e1ff80203b20674ee09b31179580d8b3e2b18 Mon Sep 17 00:00:00 2001 From: Frost Ming Date: Tue, 30 Jan 2024 11:20:03 +0800 Subject: [PATCH] fix: import ordering Signed-off-by: Frost Ming --- packages/onepm/src/onepm/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/onepm/src/onepm/core.py b/packages/onepm/src/onepm/core.py index a9dba0a..e1e6e9c 100644 --- a/packages/onepm/src/onepm/core.py +++ b/packages/onepm/src/onepm/core.py @@ -11,6 +11,7 @@ from pathlib import Path from typing import TYPE_CHECKING, Any +import tomlkit from packaging.requirements import Requirement from packaging.utils import canonicalize_name from packaging.version import Version @@ -24,7 +25,6 @@ if TYPE_CHECKING: from unearth import PackageFinder -import tomlkit PACKAGE_MANAGERS: dict[str, type[PackageManager]] = { p.name: p # type: ignore[type-abstract]