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:
Shakya, Milind 2018-12-25 23:08:28 -05:00
parent c65fcd3fc5
commit ed5a523745
5 changed files with 124 additions and 0 deletions

View file

@ -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.