diff --git a/progit/hooks/__init__.py b/progit/hooks/__init__.py new file mode 100644 index 0000000..dc06c65 --- /dev/null +++ b/progit/hooks/__init__.py @@ -0,0 +1,25 @@ +#-*- coding: utf-8 -*- + +""" + (c) 2014 - Copyright Red Hat Inc + + Authors: + Pierre-Yves Chibon + +""" + + +class BaseHook(object): + ''' Base class for progit's hooks. ''' + + name = None + form = None + + def install(): + ''' Method called to install the hook for a project. ''' + pass + + def remove(): + ''' Method called to remove the hook of a project. ''' + pass +