diff --git a/commitizen/commands/commit.py b/commitizen/commands/commit.py index ac646a0220..bad47dd572 100644 --- a/commitizen/commands/commit.py +++ b/commitizen/commands/commit.py @@ -46,7 +46,7 @@ def prompt_commit_questions(self) -> str: # Prompt user for the commit message cz = self.cz questions = cz.questions() - for question in filter(lambda q: q['type'] == 'list', questions): + for question in filter(lambda q: q["type"] == "list", questions): question["use_shortcuts"] = self.config.settings["use_shortcuts"] try: answers = questionary.prompt(questions, style=cz.style)