Skip to content

Commit 50848e7

Browse files
bearomorphismLee-W
andauthored
Update docs/customization/python_class.md
Co-authored-by: Wei Lee <weilee.rx@gmail.com>
1 parent bb41ed8 commit 50848e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/customization/python_class.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class JiraCz(BaseCommitizen):
4343

4444
def message(self, answers: dict) -> str:
4545
"""Generate the message with the given answers."""
46-
return "{0} (#{1})".format(answers["title"], answers["issue"])
46+
return f"answers['title'] (#answers['issue'])"
4747

4848
def example(self) -> str:
4949
"""Provide an example to help understand the style (OPTIONAL)

0 commit comments

Comments
 (0)