Add runtime configuration file #34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/v0.6-issue-15-runtime-config"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds a dedicated runtime configuration file for RGB Aura settings that should not require editing Python code.
Changes
config/runtime_config.jsonfor runtime animation settings.src/rgb_aura/runtime_config.pyto load and validate runtime config safely.config/device_map.json.Runtime config supports
Validation
ruff format src/rgb_aura scripts testsruff check src/rgb_aura scripts testsPYTHONPATH=src python -m rgb_aura.main --helpPYTHONPATH=src python -m rgb_aura.main --cycles 1 --duration 5PYTHONPATH=src python -m rgb_aura.main --runtime-config reports/dev/bad-runtime-config.jsonPYTHONPATH=src python -m rgb_aura.main --runtime-config reports/dev/bad-runtime-config-reserved-zone.jsonPYTHONPATH=src python -m rgb_aura.mainPYTHONPATH=src python -m rgb_aura.main --animation-speed 1.25Result
--animation-speed 1.25works.--helpoutput no longer exposes local absolute paths.