human
Here's a good function header given the following:
I wrote the below code

    @wraps(func)
    def wrapper(self, *args, **kwargs):
        if self.repo.bare:
            raise InvalidGitRepositoryError(("Method    '%s'    cannot    operate    on    bare    repositories" % func.__name__))
        return func(self, *args, **kwargs)
    return wrapper

What's a good function header?
assistant
#Here's a good function header.

def unbare_repo(func):