Open
Conversation
677df12 to
0100a25
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
0100a25 to
75b655c
Compare
75b655c to
416457c
Compare
416457c to
333928a
Compare
333928a to
0bd6921
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==4.5.*->==4.10.*Release Notes
BrianPugh/cyclopts (cyclopts)
v4.10.1Compare Source
Bug Fixes
ValueErrorwhen parsing pre-release Pydantic versions by @BrianPugh in https://github.com/BrianPugh/cyclopts/pull/775Full Changelog: BrianPugh/cyclopts@v4.10.0...v4.10.1
v4.10.0Compare Source
Features
New
App.error_formatterfield to control outCycloptsErrorare displayed. The formatter receives aCycloptsErrorand returns anyrich-printable object, replacing the defaultCycloptsPanel. Can be set at app creation or passed as a runtime override toparse_args/__call__/run_async. by @BrianPugh in https://github.com/BrianPugh/cyclopts/pull/771By default (without
error_formatter), errors are displayed in a Rich panel:With a custom formatter, you can simplify or restyle the output:
Full Changelog: BrianPugh/cyclopts@v4.9.0...v4.10.0
v4.9.0Compare Source
Features
Parameter.consume_multiplenow acceptsintortuple[int, int]for min/max element bounds.intsets a minimum (e.g.consume_multiple=2requires at least 2 values).consume_multiple=(1, 3)requires 1–3 values).ConsumeMultipleError.Require 1–3 space-separated values: --files a.txt b.txt c.txt
files: Annotated[list[str], Parameter(consume_multiple=(1, 3))]
By @BrianPugh in https://github.com/BrianPugh/cyclopts/pull/768
App.help_prologuedisplays text before the "Usage" line in help output.Inherited by subcommands; override per-command or set to
""to disable.Bug Fixes
a b --bar 8 dnow correctly errors instead of silently assigningdto the positional list. By @BrianPugh in https://github.com/BrianPugh/cyclopts/pull/766Other
New Contributors
Full Changelog: BrianPugh/cyclopts@v4.8.0...v4.9.0
v4.8.0Compare Source
Features
Lazy Loading
--helpimprovements.Previously, running
--helpon a parent command would import and resolve all lazy child commands, negating much of the startup-time benefits. Now, parent--helpdisplays lazy commands without triggering any imports.To show descriptions for lazy commands in
--helpoutput, providehelp=at registration time:Other metadata (
group=,show=,sort_key=) can also be provided at registration time and will be used for help display without resolving the command.Lazy commands are now only resolved when:
--helpis requested (e.g.,myapp deploy --help)app["command_name"]Thanks to @zzstoatzz for the initial contribution in #757.
Full Changelog: BrianPugh/cyclopts@v4.7.0...v4.8.0
v4.7.0Compare Source
Features
Bug Fixes
list[ExistingFile]). by @BrianPugh in https://github.com/BrianPugh/cyclopts/pull/760Full Changelog: BrianPugh/cyclopts@v4.6.0...v4.7.0
v4.6.0Compare Source
Features
Parameter.requires_equals. When enabled, values for keywords must be provided by an=. For example,--foo=bar.--foo barwould raise an error telling the user to use a=. Defaults toFalse(same behavior as before). by @BrianPugh in https://github.com/BrianPugh/cyclopts/pull/751Full Changelog: BrianPugh/cyclopts@v4.5.4...v4.6.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.
This PR has been generated by Renovate Bot.