core: move stuff from tests/demo.py to my/core/tests/test_config.py

also clean all this up a bit
This commit is contained in:
Dima Gerasimov 2024-08-25 16:36:34 +01:00
parent 7331f98efe
commit 2e3bd3d691
4 changed files with 164 additions and 143 deletions

View file

@ -4,7 +4,7 @@ from typing import TYPE_CHECKING
from .cfg import make_config
from .common import PathIsh, Paths, get_files
from .compat import assert_never
from .error import Res, unwrap
from .error import Res, unwrap, notnone
from .logging import (
make_logger,
)
@ -42,7 +42,7 @@ __all__ = [
'__NOT_HPI_MODULE__',
'Res', 'unwrap',
'Res', 'unwrap', 'notnone',
'dataclass', 'Path',
]