Add pre-commit try-repo

`try-repo` is useful for:
- Trying out a remote hook repository without needing to configure it.
- Testing a hook repository while developing it.
This commit is contained in:
Anthony Sottile 2017-10-07 15:13:53 -07:00
parent e8641ee0a3
commit 2c88791a7f
15 changed files with 254 additions and 110 deletions

View file

@ -146,7 +146,7 @@ class Repository(object):
@cached_property
def manifest(self):
return Manifest(self._repo_path, self.repo_config['repo'])
return Manifest(self._repo_path)
@cached_property
def hooks(self):