Skip to content

Conversation

kmvanbrunt
Copy link
Member

No description provided.

This commit refactors how subcommand parsers are created. Instead of
manually copying attributes from a pre-configured parser to a new one
created by argparse, the code now directly attaches a single, fully
configured parser instance to the subcommand action's internal map. This
eliminates fragile attribute-by-attribute copying and ensures all custom
parser settings are retained.
Copy link

codecov bot commented Aug 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.78%. Comparing base (c2dc175) to head (efa0506).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1496      +/-   ##
==========================================
- Coverage   98.78%   98.78%   -0.01%     
==========================================
  Files          23       23              
  Lines        4935     4925      -10     
==========================================
- Hits         4875     4865      -10     
  Misses         60       60              
Flag Coverage Δ
unittests 98.78% <100.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kmvanbrunt kmvanbrunt merged commit 7c90454 into main Aug 29, 2025
30 checks passed
@kmvanbrunt kmvanbrunt deleted the simplify_subcommand_creation branch August 29, 2025 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants