my.core.common: move warn_if_empty to my.core.utils.itertools, cleanup and add more tests
This commit is contained in:
parent
770dba5506
commit
06084a8787
5 changed files with 112 additions and 115 deletions
|
@ -1,10 +1,10 @@
|
|||
# this file only keeps the most common & critical types/utility functions
|
||||
from .common import get_files, PathIsh, Paths
|
||||
from .common import Json
|
||||
from .common import warn_if_empty
|
||||
from .common import stat, Stats
|
||||
from .common import datetime_naive, datetime_aware
|
||||
from .compat import assert_never
|
||||
from .utils.itertools import warn_if_empty
|
||||
|
||||
from .cfg import make_config
|
||||
from .error import Res, unwrap
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue