rich
rich copied to clipboard
feat: Traceback - Expose more locals rendering options
Type of changes
- [ ] Bug fix
- [x] New feature
- [ ] Documentation / docstrings
- [ ] Tests
- [ ] Other
AI?
- [ ] AI was used to generate this PR
AI generated PRs may be accepted, but only if @willmcgugan has responded on an issue or discussion.
Checklist
- [x] I've run the latest black with default args on new code.
- [x] I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate (see note about typos above).
- [ ] I've added tests for new code.
- [x] I accept that @willmcgugan may be pedantic in the code review.
Description
Hi! I ran into an issue where rich tracebacks were spamming my logs with deeply nested items & found no way to reduce this. This PR is a simple re-implementation of the accepted PR #3415 where the author did not respond to fix merge conflicts :)
Please see the above mentioned PR for information & background. I simply moved over the changes