mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
hook paths are only computed in install_uninstall
This commit is contained in:
parent
d04823e8e3
commit
bffa58753d
3 changed files with 10 additions and 8 deletions
|
|
@ -34,6 +34,3 @@ class Runner(object):
|
|||
@cached_property
|
||||
def config(self):
|
||||
return load_config(self.config_file_path)
|
||||
|
||||
def get_hook_path(self, hook_type):
|
||||
return os.path.join(git.get_git_dir(self.git_root), 'hooks', hook_type)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue