Skip to content

Made traceback settings customizable.#1648

Merged
kmvanbrunt merged 2 commits intomainfrom
trackback_settings
Apr 23, 2026
Merged

Made traceback settings customizable.#1648
kmvanbrunt merged 2 commits intomainfrom
trackback_settings

Conversation

@kmvanbrunt
Copy link
Copy Markdown
Member

  • Added traceback_kwargs attribute to allow customization of Rich-based tracebacks.
  • Removed RichPrintKwargs TypedDict in favor of using Mapping[str, Any], allowing for greater flexibility in passing keyword arguments to console.print() calls.

@kmvanbrunt kmvanbrunt requested a review from tleonhardt as a code owner April 23, 2026 17:11
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.51%. Comparing base (fe308da) to head (5c6014f).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1648   +/-   ##
=======================================
  Coverage   99.51%   99.51%           
=======================================
  Files          21       21           
  Lines        4758     4759    +1     
=======================================
+ Hits         4735     4736    +1     
  Misses         23       23           
Flag Coverage Δ
unittests 99.51% <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.

Comment thread cmd2/cmd2.py
@kmvanbrunt kmvanbrunt merged commit 0abaeab into main Apr 23, 2026
33 checks passed
@kmvanbrunt kmvanbrunt deleted the trackback_settings branch April 23, 2026 17:46
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