Skip to content

Commit 3a6bda9

Browse files
fix(config): use single-bracket table for commitizen change_type_map
Using [[tool.commitizen.change_type_map]] created a TOML Array of Tables (AoT), which caused an AttributeError when commitizen tried to call .get() on it. Changed to [tool.commitizen.change_type_map] so it is parsed as a plain dict.
1 parent aeeefbc commit 3a6bda9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ version_files = [
184184
"pyproject.toml:tags/v$version.tar.gz",
185185
]
186186

187-
[[tool.commitizen.change_type_map]]
187+
[tool.commitizen.change_type_map]
188188
"feat" = "Features"
189189
"fix" = "Bug Fixes"
190190
"docs" = "Documentation"

0 commit comments

Comments
 (0)