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(cli): don't use lambda for default #554

Conversation

sileht
Copy link
Member

@sileht sileht commented Nov 27, 2024

Using callable in option default has a particular meaning for click.
I though it only lazy loads the default, but it has a special meaning
for Click call Dynamic Default, it overrides the value passed in the cli
arguments.

This changes remove them.

Using callable in option default has a particular meaning for click.
I though it only lazy loads the default, but it has a special meaning
for Click call Dynamic Default, it overrides the value passed in the cli
arguments.

This changes remove them.

Change-Id: I4996045c7e7de4eb6b72b967601751918a61cb52
Copy link
Contributor

mergify bot commented Nov 27, 2024

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 Changelog requirements

Wonderful, this rule succeeded.
  • any of:
    • -title ~= ^feat
    • label = need changelog
    • label = skip changelog

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?:

🟢 🔎 Reviews

Wonderful, this rule succeeded.
  • #changes-requested-reviews-by = 0
  • #review-requested = 0
  • #review-threads-unresolved = 0

@mergify mergify bot requested a review from a team November 27, 2024 08:59
@mergify mergify bot merged commit 6849f63 into main Nov 27, 2024
5 checks passed
@mergify mergify bot added the queued label Nov 27, 2024
@mergify mergify bot deleted the devs/sileht/build-sys-new/I4996045c7e7de4eb6b72b967601751918a61cb52 branch November 27, 2024 09:07
@mergify mergify bot removed the queued label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants