added install and uninstall hooks

This commit is contained in:
Ken Struys 2014-03-13 13:59:05 -07:00
parent 9914255ffa
commit 7e74821a5d
7 changed files with 79 additions and 19 deletions

View file

@ -1,11 +1,10 @@
import argparse
from pre_commit import git
def install():
"""Install the pre-commit hook."""
raise NotImplementedError
git.create_pre_commit()
def uninstall():
"""Uninstall the pre-commit hook."""