mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
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:
parent
e8641ee0a3
commit
2c88791a7f
15 changed files with 254 additions and 110 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue