core: cleanup/sort imports according to ruff check --select I

This commit is contained in:
Dima Gerasimov 2024-08-16 13:25:19 +03:00
parent 7023088d13
commit 478e288ea8
45 changed files with 235 additions and 170 deletions

View file

@ -1,23 +1,21 @@
# this file only keeps the most common & critical types/utility functions
from typing import TYPE_CHECKING
from .common import get_files, PathIsh, Paths
from .stats import stat, Stats
from .cfg import make_config
from .common import PathIsh, Paths, get_files
from .compat import assert_never
from .error import Res, unwrap
from .logging import (
make_logger,
)
from .stats import Stats, stat
from .types import (
Json,
datetime_aware,
datetime_naive,
)
from .compat import assert_never
from .utils.itertools import warn_if_empty
from .cfg import make_config
from .error import Res, unwrap
from .logging import (
make_logger,
)
from .util import __NOT_HPI_MODULE__
from .utils.itertools import warn_if_empty
LazyLogger = make_logger # TODO deprecate this in favor of make_logger