Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions NOTICE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
- 'tests/**/*.py'
- 'tools/*.py'
exclude:
- 'dlccore/config/*.py'
- 'dlccore/deprecation.py'
- 'tests/config/*.py'
- 'tools/update_license_headers.py'

# Files ported from DeepLabCut keep the old header
Expand All @@ -26,4 +29,7 @@

Licensed under GNU Lesser General Public License v3.0
include:
- 'dlccore/config/*.py'
- 'dlccore/deprecation.py'
- 'tests/config/*.py'
- 'tools/update_license_headers.py'
38 changes: 38 additions & 0 deletions dlccore/config/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#
# DeepLabCut Toolbox (deeplabcut.org)
# © A. & M.W. Mathis Labs
# https://github.com/DeepLabCut/DeepLabCut
#
# Please see AUTHORS for contributors.
# https://github.com/DeepLabCut/DeepLabCut/blob/main/AUTHORS
#
# Licensed under GNU Lesser General Public License v3.0
#
from dlccore.config.base_config import DLCBaseConfig, DLCVersionedConfig
from dlccore.config.project_config import ProjectConfig
from dlccore.config.utils import (
get_yaml_dumper,
get_yaml_loader,
normalize_for_serialization,
pretty_print,
read_config_as_dict,
resolve_alias,
resolve_aliases_in_dict,
write_config,
)

__all__ = [
"DLCBaseConfig",
"DLCVersionedConfig",
"ProjectConfig",
"pretty_print",
"read_config_as_dict",
"resolve_alias",
"resolve_aliases_in_dict",
"write_config",
"get_yaml_loader",
"get_yaml_dumper",
"versioning",
"validation",
"normalize_for_serialization",
]
Loading
Loading