Skip to content

Commit

Permalink
Ensure click argument for choice is list of str instead of a dictiona…
Browse files Browse the repository at this point in the history
…ry view (makes mypy happy)
  • Loading branch information
andreilitvin committed Sep 21, 2023
1 parent d01c4c0 commit 41c92a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/backwards_compatibility_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
@click.option(
'--log-level',
default='INFO',
type=click.Choice(__LOG_LEVELS__.keys(), case_sensitive=False),
type=click.Choice(list(__LOG_LEVELS__.keys()), case_sensitive=False),
help='Determines the verbosity of script output')
@click.argument(
'old_idl',
Expand Down

0 comments on commit 41c92a1

Please sign in to comment.