mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 19:46: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
1
setup.py
1
setup.py
|
|
@ -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',
|
||||
],
|
||||
},
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue