Commit graph

5 commits

Author SHA1 Message Date
David Paz
912f1a5f41
Allow for more control in template variables
Sepearate commit message coming from git for handling in template.
2022-07-15 17:45:52 +02:00
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
ac248b5011
Add test for multiple patterns 2022-07-15 10:05:35 +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