mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-23 05:35:44 -05:00
config.py: silence new click mypy error
This commit is contained in:
parent
107ca5d86e
commit
774b526925
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ def prompt_config(
|
|||
if bold:
|
||||
text = click.style(text, bold=True)
|
||||
|
||||
result = click.prompt(text, type=field_type, default=default, value_proc=value_conv, show_default=True)
|
||||
result = click.prompt(text, type=field_type, default=default, value_proc=value_conv, show_default=True) # type: ignore
|
||||
changed = (result != default) and (true_or_zero(default) or true_or_zero(result))
|
||||
if changed and echo_changes:
|
||||
print(f'value changed: "{text}" = "{result}"')
|
||||
|
|
Loading…
Add table
Reference in a new issue