82055ca6b55a42b8e5015b207281bf26a33a53fa
- ConfigurationModelABC: defaults, src parsing, PascalCase/snake_case key variants, type casting, required fields, readonly enforcement, env var override with prefix - Configuration: set/get by class and string key, auto-instantiation of unregistered models, add_json_file loading, optional/missing files Also documents two additional bugs found: - cast(True, bool) fails with AttributeError (bool has no .lower()) - add_json_file does not exit on invalid JSON (swallows parse error) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Prepare for development
After cloning the repository, run the following commands to set up your development environment:
python -m venv .venv
source .venv/bin/activate
# On Windows use `.venv\Scripts\activate`
# On Windows with git bash use `source .venv/Scripts/activate`
bash install.sh
Install cpl-cli as a development package:
pip install -e src/core
pip install -e src/cli
# test with:
cpl v
When using Pycharm, mark all directories under src/ as "Sources Root" and exa to ensure proper module resolution.