Commit graph

3 commits

Author SHA1 Message Date
David Paz
f072bb622f
Move get_template_path function to pakcage utils
Moved out the function from testing package to project main package.
2022-07-15 14:49:26 +02:00
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