Add a hook for yaml files.

This commit is contained in:
Anthony Sottile 2014-04-03 21:36:03 -07:00
parent 212b3dc49d
commit 3e45f53e68
8 changed files with 59 additions and 3 deletions

View file

@ -9,14 +9,16 @@ setup(
'argparse',
'plumbum',
'pyflakes',
'pyyaml',
'simplejson',
],
entry_points={
'console_scripts': [
'check-yaml = pre_commit_hooks.check_yaml:check_yaml',
'debug-statement-hook = pre_commit_hooks.debug_statement_hook:debug_statement_hook',
'trailing-whitespace-fixer = pre_commit_hooks.trailing_whitespace_fixer:fix_trailing_whitespace',
'name-tests-test = pre_commit_hooks.tests_should_end_in_test:validate_files',
'end-of-file-fixer = pre_commit_hooks.end_of_file_fixer:end_of_file_fixer',
'name-tests-test = pre_commit_hooks.tests_should_end_in_test:validate_files',
'trailing-whitespace-fixer = pre_commit_hooks.trailing_whitespace_fixer:fix_trailing_whitespace',
],
},
)