This version has some enhancements to pretty printing. Rich will now pretty print objects created with attrs (https://www.attrs.org/en/stable/). Additionally, there is expanded support for UserList, UserDict, and mappingproxy -- less common containers in Python.
[10.2.0] - 2021-05-12
Added
Added syntax for call, i.e. "Foo(bar)"
Added Console.measure as a convenient alias for Measurement.get
Added support for pretty printing attrs objects
Added mappingproxy to pretty print
Added UserDict and UserList support to pretty printer
Changed
Changed colorama init to set strip=False
Changed highlighter for False, True, None to not match in the middle of a word. i.e. NoneType is no longer highlighted as None
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on rich to permit the latest version.
Release notes
Sourced from rich's releases.
Changelog
Sourced from rich's changelog.
... (truncated)
Commits
7d02d29
attrs example, version bump22e95c9
Merge pull request #1203 from nathanrpage97/feat/mypy-strict-compliantb7bbbe5
Merge branch 'master' into feat/mypy-strict-compliant5c8a331
Merge pull request #1225 from willmcgugan/dependabot/pip/sphinx-4.0.14357981
Merge pull request #1231 from willmcgugan/user-dictb5e4768
tweak insepct output410a06e
added types to pretty printer201fe91
Merge pull request #1227 from oleksis/master9f71115
Add link to Korean translation readme709613e
Merge pull request #1226 from youngchaena/kr-translateDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)