Commit graph

2 commits

Author SHA1 Message Date
David Paz
51e5b74f80
Refactor jinja usage
Moved out templates to root dir and start using only jinja template
instead of the complete Environment class. Requirements here are quite
simple.
2022-07-15 14:40:59 +02:00
David Paz
e01e1717b1
Add prepare-commit-msg hook
Added new hook for templating prepare-commit-msg hook. Added 2
templates to use keepgin `prepare_commit_msg_append.j2`as default.

The idea is that developers could create their own templates accordingly
to teams commit conventions and override them in the hook arguments when
configuring it.
2022-07-15 01:00:16 +02:00