1a3f62ea0d- Update to 1.8.9: * Fix deprecation warning in Click 8.2. * Fix typing incompatibilities with Click 8.2. * Fixed no_args_is_help=True with Click 8.2. * Added Click 8.2's support for Parameter.deprecated: str | bool * Make text wrap instead of using ellipses for overflowing metavars in options tables. * Added --errors-in-output-format flag to rich-click CLI. * Actually fixed regression in stderr handling * Add ability to turn off option/command deduplication in groups * Fix regression in stderr handling * Fix incompatibility with click 8.2.0. * Fix issue with error messages not using user-defined styles. * Support rich.text.Text() objects for header_text, footer_text, errors_suggestion, and errors_epilogue. * Support {cmd} as an option/command group key when python -m {cmd} is the command_path. * Fixed incompatibility with Click 9. * Add --rich-config and --output options to the rich-click CLI. * Lazy load Rich to reduce overhead when not rendering help text. * Added RichHelpConfiguration.load_from_globals() classmethod, which pulls all configuration from rich_click.py. * Fix bug with regex highlighter for options and switches. * RichHelpConfiguration() is now asserted to be JSON serializable, as an option for porting configurations. * Moved exclusively to pyproject.toml and removed setup.py / setup.cfg * Moved to text_markup: Literal["markdown", "rich", "ansi", None] instead of booleans. * Fixed issue where error messages would not print to stderr by default. - Switch to github tarball.Steve Kowalik2025-07-31 02:38:57 +00:00
df17cb33e9Accepting request 1285051 from devel:languages:pythonAna Guerrero2025-06-12 13:54:13 +00:00
93d78f1f29Accepting request 1135339 from devel:languages:pythonAna Guerrero2023-12-28 22:02:30 +00:00
75fbd3849d- update to 1.7.2: * Add support for rich formatting in epilog text [#146]Dirk Mueller2023-12-27 15:55:50 +00:00
c7eb9eac67Accepting request 1132837 from devel:languages:pythonAna Guerrero2023-12-13 17:36:04 +00:00
9ea0473ceb- update to 1.7.2: * Add support for rich formatting in epilog text [#146] * Fix bug with rich-click CLI not working with Python 3.12. #141 * Fix compatibility issue with dbt-core CLI. [#140] * Extends Click's HelpFormatter class * Creates a HelpConfiguration class that doubles the current module-level settings * Added a decorator that allows the HelpConfiguration to be passed into Click via the supported context_settings argument provided by the Command and Group classes. * The Rich Console object can also be configured per command and is distinct from the Console instance used internally by the formatter. The RichHelpFormatter creates a console based on the RichHelpConfiguration as the tight coupling between the Formatter and Click's internals make it difficult to allow the Console to be configured externally (i.e. one example is that Click expects help formatting to be buffered). * Created a RichContext class to allow creation of the custom formatter. * The Rich Command, Group, and Context now expose the Console and RichHelpConfiguration properties. * Added contributor VSCode settings - Update to version 1.6.0Dirk Mueller2023-12-13 10:14:04 +00:00