mirror of
https://github.com/Textualize/rich.git
synced 2025-08-04 18:18:22 +00:00
changelog and black
This commit is contained in:
parent
fdabcb194c
commit
5f9f669a9e
3 changed files with 7 additions and 1 deletions
|
@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed pretty_repr for dataclasses in frozen (e.g. pyinstaller) bundles https://github.com/Textualize/rich/pull/3592
|
||||
|
||||
## [13.9.4] - 2024-11-01
|
||||
|
||||
|
|
|
@ -37,6 +37,7 @@ The following people have contributed to the development of Rich:
|
|||
- [Hugo van Kemenade](https://github.com/hugovk)
|
||||
- [Andrew Kettmann](https://github.com/akettmann)
|
||||
- [Alexander Krasnikov](https://github.com/askras)
|
||||
- [Talley Lambert](https://github.com/tlambert03)
|
||||
- [Martin Larralde](https://github.com/althonos)
|
||||
- [Hedy Li](https://github.com/hedythedev)
|
||||
- [Henry Mai](https://github.com/tanducmai)
|
||||
|
|
|
@ -84,7 +84,7 @@ def _is_dataclass_repr(obj: object) -> bool:
|
|||
try:
|
||||
accepted = {dataclasses.__file__, reprlib.__file__}
|
||||
if IS_FROZEN:
|
||||
accepted.update({'dataclasses.py', 'reprlib.py'})
|
||||
accepted.update({"dataclasses.py", "reprlib.py"})
|
||||
return obj.__repr__.__code__.co_filename in accepted
|
||||
except Exception: # pragma: no coverage
|
||||
return False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue