feat(commit): individual packages from config respected

This commit is contained in:
janishutz committed 2026-05-07 18:25:19 +02:00
1 parent b7218c2a82
commit ecb2952a7e
9 files changed
+69 -16

No files matched your search

+13
View File
@@ -13,6 +13,11 @@ def _load_config_file(file: str):
def default_config() -> ArchMgrConfig:
"""Get the default configuration
Returns:
The default config
"""
return {
"pkgs": {
"individual": [],
@@ -59,6 +64,14 @@ def default_config() -> ArchMgrConfig:
def load_config(file: str) -> ArchMgrConfig:
"""Load the configuration from the specified file path
Args:
file: Path to the file to be loaded
Returns:
The loaded, validated and parsed config
"""
# Load and validate initial config
try:
loaded_conf = _load_config_file(file)