Implement a global per-user config that resides in ${XDG_CONFIG_HOME}/rich/config.toml (e.g., ~/.config/rich/config.toml) that can control settings like theming.
What problem does it solve for you?
No longer required to modify the project's source code at all. Thus, the source code does not need to mention rich at all. This is good when, e.g., the user does not own the project but still wants rich tracebacks with their preferred style.
The same theme is now available for all projects on the user's system, with no modification required to every project or file.
Users can now choose alternatives to rich if they want.
How would you improve Rich?
Implement a global per-user config that resides in
${XDG_CONFIG_HOME}/rich/config.toml
(e.g.,~/.config/rich/config.toml
) that can control settings like theming.What problem does it solve for you?
rich
at all. This is good when, e.g., the user does not own the project but still wants rich tracebacks with their preferred style.