Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency rich-click to v1.7.0 #917

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 12, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
rich-click 1.6.1 -> 1.7.0 age adoption passing confidence

Release Notes

ewels/rich-click (rich-click)

v1.7.0

Compare Source

[!WARNING]

Click 7.x support is deprecated and will be removed in rich-click version 1.8.x.
Please update to a newer version of click.

This release comes after merging a huge pull-request from @​BrutalSimplicity - see #​92

  • 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

This PR closes a number of issues:

  • #​25: Add tests!
  • #​90: click.ClickException should output to stderr
  • #​88: Rich Click breaks contract of Click's format_help and its callers
  • #​18: Options inherited from context settings aren't applied

In addition, we merged another large pull-request that adds full static type-checking support (see issue #​85), and fixes many bugs - see PR #​126.

In addition:

  • Add new style option STYLE_COMMAND [#​102]
  • Add new style option WIDTH (in addition to MAX_WIDTH), thanks to @​ealap [#​110]
  • Add new style option STYLE_ERRORS_SUGGESTION_COMMAND [#​136]
  • Updated styling for Usage: line to avoid off-target effects [#​108]
  • Click 7.x support has been deprecated. [#​117]
  • Fixed error where ctx.exit(exit_code) would not show nonzero exit codes.[#​114]
  • Support click.MultiCommand. [#​38]:

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Oct 12, 2023
@codecov
Copy link

codecov bot commented Oct 12, 2023

Codecov Report

Merging #917 (5107226) into main (9d4e960) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #917   +/-   ##
=======================================
  Coverage   98.72%   98.72%           
=======================================
  Files          30       30           
  Lines        1021     1021           
  Branches      166      166           
=======================================
  Hits         1008     1008           
  Partials       13       13           

@renovate renovate bot temporarily deployed to release October 12, 2023 03:34 Inactive
@renovate renovate bot force-pushed the renovate/rich-click-1.x-lockfile branch from 16dca8e to 5107226 Compare October 12, 2023 07:38
@renovate renovate bot temporarily deployed to release October 12, 2023 07:44 Inactive
@renovate renovate bot merged commit 28d2ead into main Oct 12, 2023
23 checks passed
@renovate renovate bot deleted the renovate/rich-click-1.x-lockfile branch October 12, 2023 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants