Skip to content

Commit

Permalink
mypy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SmileyChris committed May 7, 2023
1 parent 24d7cb3 commit c6b5f77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/towncrier/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def __main(
issue = click.prompt("Issue number")
fragment_type = click.prompt(
"Fragment type",
type=click.Choice(config.types),
type=click.Choice(list(config.types)),
)
filename = f"{issue}.{fragment_type}"
if edit is None and content == DEFAULT_CONTENT:
Expand Down

0 comments on commit c6b5f77

Please sign in to comment.