|
|
7d66f90810
|
feat: add main merge-and-validate entry point with error formatting
|
2025-11-01 17:11:56 -04:00 |
|
|
|
c220211c3a
|
feat: add comprehensive config validation
|
2025-11-01 17:02:41 -04:00 |
|
|
|
7e95ce356b
|
feat: add root-level config merging
Add merge_configs function that performs root-level merging of custom
config into default config. Custom config sections completely replace
default sections. Implementation does not mutate input dictionaries.
Includes comprehensive tests for:
- Empty custom config
- Section override behavior
- Adding new sections
- Non-mutating behavior
All 7 tests pass.
|
2025-11-01 16:59:02 -04:00 |
|
|
|
03f81b3b5c
|
feat: add config file loading with error handling
Implement load_config() function with comprehensive error handling
- Loads and parses JSON config files
- Raises ConfigValidationError for missing files
- Raises ConfigValidationError for malformed JSON
- Includes 3 passing tests for all error cases
Test coverage:
- test_load_config_valid_json: Verifies successful JSON parsing
- test_load_config_file_not_found: Validates error on missing file
- test_load_config_invalid_json: Validates error on malformed JSON
|
2025-11-01 16:55:40 -04:00 |
|