mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Remove Runner.cmd_runner and Store.cmd_runner
This commit is contained in:
parent
95c3afacda
commit
6141c419ee
8 changed files with 65 additions and 120 deletions
|
|
@ -57,11 +57,6 @@ class Runner(object):
|
|||
def pre_push_path(self):
|
||||
return self.get_hook_path('pre-push')
|
||||
|
||||
@cached_property
|
||||
def cmd_runner(self):
|
||||
# TODO: remove this and inline runner.store.cmd_runner
|
||||
return self.store.cmd_runner
|
||||
|
||||
@cached_property
|
||||
def store(self):
|
||||
return Store()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue