mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-06 03:56:54 +00:00
Add update_commit_msg
Update hooks file Update description Simplify approach Remove redundant statement Add test Add more tests Updates lints Use io.open instead Update setup.py Remove unused import Rename update-commit-msg to prepend-ticket-number-to-commit-msg
This commit is contained in:
parent
c65fcd3fc5
commit
ed5a523745
5 changed files with 124 additions and 0 deletions
|
|
@ -183,3 +183,9 @@
|
|||
entry: trailing-whitespace-fixer
|
||||
language: python
|
||||
types: [text]
|
||||
- id: prepend-ticket-number-to-commit-msg
|
||||
name: prepend-ticket-number-to-commit-msg
|
||||
entry: prepend-ticket-number-to-commit-msg
|
||||
language: python
|
||||
stages: [commit-msg]
|
||||
description: prepend-ticket-number-to-commit-msg - Use it to prepend your commits with info from your branch. See Readme for info.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue