robotframework-tidy
robotframework-tidy copied to clipboard
Update rich-click requirement from <1.7.5,>=1.4 to >=1.4,<1.8.1
Updates the requirements on rich-click to permit the latest version.
Release notes
Sourced from rich-click's releases.
v1.8.0
- Add
--rich-configand--outputoptions to therich-clickCLI.- Lazy load Rich to reduce overhead when not rendering help text. [#154]
- Some internal refactors. These refactors are aimed at making the abstractions more maintainable over time, more consistent, and more adept for advanced used cases.
rich_click.pyis exclusively the global config; all formatting has been moved torich_help_rendering.py.RichCommandnow makes use of methods in the super class:format_usage,format_help_text,format_options, andformat_epilog.- Global
formatterobject has been removed from the code.highlighteris now constructed by theRichHelpFormatterrather than being inside the config object.- Added
RichHelpConfiguration.load_from_globals()classmethod, which pulls all configuration fromrich_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. That said, serialization is not a fully supported feature of the high-level API, so serialize the config at your own risk.
- Related:
highlighteris now deprecated inRichHelpConfiguration; please usehighlighter_patternsinstead.- Moved exclusively to
pyproject.tomland removedsetup.py/setup.cfg; thank you@Stealthii!- Moved to
text_markup: Literal["markdown", "rich", "ansi", None]instead of booleans.
- The default is now
ansiinstead ofNoneto help support usage ofclick.style().Noneis still supported.- Fixed issue where error messages would not print to
stderrby default.- New configuration options: [#178]
STYLE_OPTIONS_PANEL_BOXSTYLE_COMMANDS_PANEL_BOXSTYLE_ERRORS_PANEL_BOX- Many quality of life improvements for command and option groups:
- Support both
command_pathandcommand.name.- Added wildcard (
*) option for command groups and option groups, with thanks to@ITProKyle!- Resolve duplicates.
- Better typing for option groups and command groups with
TypedDict[#156]- Added
panel_stylessupport to groups. [#178]- Allow
table_stylesandpanel_stylesto be defined for the positional arguments group.
Changelog
Sourced from rich-click's changelog.
Version 1.8.0 (2023-04-30)
- Add
--rich-configand--outputoptions to therich-clickCLI.- Lazy load Rich to reduce overhead when not rendering help text. [#154]
- Some internal refactors. These refactors are aimed at making the abstractions more maintainable over time, more consistent, and more adept for advanced used cases.
rich_click.pyis exclusively the global config; all formatting has been moved torich_help_rendering.py.RichCommandnow makes use of methods in the super class:format_usage,format_help_text,format_options, andformat_epilog.- Global
formatterobject has been removed from the code.highlighteris now constructed by theRichHelpFormatterrather than being inside the config object.- Added
RichHelpConfiguration.load_from_globals()classmethod, which pulls all configuration fromrich_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. That said, serialization is not a fully supported feature of the high-level API, so serialize the config at your own risk.
- Related:
highlighteris now deprecated inRichHelpConfiguration; please usehighlighter_patternsinstead.- Moved exclusively to
pyproject.tomland removedsetup.py/setup.cfg; thank you@Stealthii!- Moved to
text_markup: Literal["markdown", "rich", "ansi", None]instead of booleans.
- The default is now
ansiinstead ofNoneto help support usage ofclick.style().Noneis still supported.- Fixed issue where error messages would not print to
stderrby default.- New configuration options: [#178]
STYLE_OPTIONS_PANEL_BOXSTYLE_COMMANDS_PANEL_BOXSTYLE_ERRORS_PANEL_BOX- Many quality of life improvements for command and option groups:
- Support both
command_pathandcommand.name.- Added wildcard (
*) option for command groups and option groups, with thanks to@ITProKyle!- Resolve duplicates.
- Better typing for option groups and command groups with
TypedDict[#156]- Added
panel_stylessupport to groups. [#178]- Allow
table_stylesandpanel_stylesto be defined for the positional arguments group.Version 1.7.4 (2024-03-12)
- Fixed
legacy_windowsdefault. [#167]Version 1.7.3 (2024-01-05)
- Fix false deprecation warning. [#151]
Version 1.7.2 (2023-12-02)
- Add support for rich formatting in epilog text [#146]
Version 1.7.1 (2023-10-31)
- Fix bug with
rich-clickCLI not working with Python 3.12. [#141]- Fix compatibility issue with
dbt-coreCLI. [#140]Version 1.7.0 (2023-10-11)
[!WARNING]
... (truncated)
Commits
64cf966Merge pull request #193 from dwreeves/one-last-change30af6dcmove from dev to actual679cfedupdate06a8bc1remove redundant 'record' boolb0177aeMerge pull request #184 from ewels/blog43070d2remove localhost from testing588ae4bmore-updates2c29f8amore updates87017fdMerge pull request #190 from dwreeves/blog-updates28a6468Merge branch 'blog' of github.com-dwreeves:ewels/rich-click into blog-updates- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)