Added fix end of file hook.

This commit is contained in:
Anthony Sottile 2014-03-22 21:49:10 -07:00
parent 8c30419c13
commit dc1494d0e7
13 changed files with 15 additions and 16 deletions

View file

@ -50,4 +50,4 @@ def get_validator(
return obj
return validate
return validate

View file

@ -9,4 +9,4 @@ SUPPORTED_LANGUAGES = set([
'python',
'ruby',
'node',
])
])

View file

@ -18,4 +18,4 @@ def in_hooks_workspace():
local.path(get_pre_commit_dir_path()).mkdir()
with local.cwd(get_pre_commit_dir_path()):
yield
yield

View file

@ -21,4 +21,4 @@ languages = {
'node': node,
'python': python,
'ruby': ruby,
}
}

View file

@ -33,4 +33,4 @@ def install_environment():
def run_hook(hook, file_args):
with in_env() as env:
return helpers.run_hook(env, hook, file_args)
return helpers.run_hook(env, hook, file_args)