mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 16:24:40 +04:00
Merge remote-tracking branch 'origin/master'
Conflicts: setup.py
This commit is contained in:
commit
f5308b0a57
6 changed files with 80 additions and 9 deletions
|
|
@ -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."""
|
||||
|
|
@ -39,4 +38,4 @@ def run(argv):
|
|||
elif args.uninstall:
|
||||
return uninstall()
|
||||
else:
|
||||
return run_hooks(args)
|
||||
return run_hooks(args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue