mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-18 16:44:42 +04:00
added install and uninstall hooks
This commit is contained in:
parent
9914255ffa
commit
7e74821a5d
7 changed files with 79 additions and 19 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."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue