Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend __repr__ and rich repr for the sized containers #844

Merged
merged 2 commits into from
Feb 27, 2024

Conversation

penguinolog
Copy link
Collaborator

Due to extremely hard to debug tracebacks,
add __repr__ details
and full details for rich.print/rich.pretty.pretty_repr

  • Columns
  • Pile
  • GridFlow
  • Frame
  • Overlay
  • Padding
Checklist
  • I've ensured that similar functionality has not already been implemented
  • I've ensured that similar functionality has not earlier been proposed and declined
  • I've branched off the master or python-dual-support branch
  • I've merged fresh upstream into my branch recently
  • I've ran tox successfully in local environment
  • I've included docstrings and/or documentation and/or examples for my code (if this is a new feature)

Due to extremely hard to debug tracebacks,
add `__repr__` details
and full details for `rich.print`/`rich.pretty.pretty_repr`

* `Columns`
* `Pile`
* `GridFlow`
* `Frame`
* `Overlay`
* `Padding`
@coveralls
Copy link

coveralls commented Feb 27, 2024

Pull Request Test Coverage Report for Build 8066999827

Details

  • -4 of 23 (82.61%) changed or added relevant lines in 5 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.08%) to 72.502%

Changes Missing Coverage Covered Lines Changed/Added Lines %
urwid/widget/overlay.py 9 13 69.23%
Totals Coverage Status
Change from base Build 8050739147: -0.08%
Covered Lines: 9082
Relevant Lines: 12607

💛 - Coveralls

@penguinolog penguinolog merged commit 38b4c78 into urwid:master Feb 27, 2024
35 checks passed
@penguinolog penguinolog deleted the rich_repr branch February 27, 2024 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants