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
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
Anthony Sottile
8f6152921e
drop python3.6 support
...
python 3.6 reached end of life on 2021-12-23
Committed via https://github.com/asottile/all-repos
2022-01-15 19:24:05 -05:00
Mikhail Khvoinitsky
10c5e4e166
forbid-new-submodules: fix triggering failure when only a submodule is committed (without any other file); support --from-ref and --to-ref; fixes #609
2021-08-13 21:32:08 +03:00
Anthony Sottile
f5c42a050b
pre-commit-hooks: python3.6+
2020-02-05 11:22:18 -08:00
Anthony Sottile
9b1b44e9c9
Remove write_file (now unnecessary)
2018-03-26 09:10:43 -07:00
Michał Sochoń
54c0f8c937
Open files as UTF-8
2018-03-26 12:00:48 +02:00
Anthony Sottile
a99475afa0
Simplify the tests
2016-05-27 14:09:50 -07:00
Anthony Sottile
b4e29b5e63
Use newline='' to avoid automatic newline translation
2016-05-26 11:45:28 -07:00
Anthony Sottile
713fab4bc7
Remove dependency on plumbum
2015-03-20 14:15:30 -07:00
gkisel
c682b50749
Add check_case_conflict hook #21
2015-01-12 15:38:22 -08:00
Anthony Sottile
b80ca9e84a
Update project setup.
2014-04-13 22:09:26 -07:00
Anthony Sottile
3e45f53e68
Add a hook for yaml files.
2014-04-03 21:36:03 -07:00