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

@ -59,6 +59,7 @@ setup(
'requirements-txt-fixer = pre_commit_hooks.requirements_txt_fixer:fix_requirements_txt',
'sort-simple-yaml = pre_commit_hooks.sort_simple_yaml:main',
'trailing-whitespace-fixer = pre_commit_hooks.trailing_whitespace_fixer:main',
'prepend-ticket-number-to-commit-msg = pre_commit_hooks.prepend_ticket_number_to_commit_msg:main',
],
},
)