Skip to content

feat(config)!: Replace contextual CLI arguments with dotted assignments - #923

Merged
gfieni merged 5 commits into
masterfrom
feat/dot-notation-cli-config
Sep 4, 2026
Merged

gfieni merged 5 commits into
masterfrom
feat/dot-notation-cli-config

refactor(config)!: Rename the `cli` package to `config`

315e969
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Sep 4, 2026 in 1s

82.91% (+2.64%) compared to 84e5ae7

View this Pull Request on Codecov

82.91% (+2.64%) compared to 84e5ae7

Details

Codecov Report

❌ Patch coverage is 99.46164% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.91%. Comparing base (84e5ae7) to head (315e969).
⚠️ Report is 12 commits behind head on master.

Files with missing lines Patch % Lines
src/powerapi/config/config_parser.py 98.60% 2 Missing ⚠️
src/powerapi/config/generator.py 98.96% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #923      +/-   ##
==========================================
+ Coverage   80.26%   82.91%   +2.64%     
==========================================
  Files          86       86              
  Lines        3167     2909     -258     
==========================================
- Hits         2542     2412     -130     
+ Misses        625      497     -128     
Files with missing lines Coverage Δ
src/powerapi/config/_utils.py 100.00% <100.00%> (ø)
src/powerapi/config/binding_manager.py 97.91% <ø> (ø)
src/powerapi/config/cli_parser.py 100.00% <100.00%> (ø)
src/powerapi/config/common_cli_parsing_manager.py 100.00% <100.00%> (ø)
src/powerapi/config/config_loader.py 100.00% <100.00%> (ø)
src/powerapi/config/parsing_manager.py 100.00% <100.00%> (ø)
src/powerapi/exception.py 92.10% <100.00%> (+8.48%) ⬆️
src/powerapi/config/config_parser.py 98.60% <98.60%> (ø)
src/powerapi/config/generator.py 98.96% <98.96%> (ø)

... and 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.