mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04: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
|
|
@ -11,7 +11,6 @@ from cached_property import cached_property
|
|||
|
||||
import pre_commit.constants as C
|
||||
from pre_commit import file_lock
|
||||
from pre_commit.prefixed_command_runner import PrefixedCommandRunner
|
||||
from pre_commit.util import clean_path_on_failure
|
||||
from pre_commit.util import cmd_output
|
||||
from pre_commit.util import copy_tree_to_path
|
||||
|
|
@ -162,10 +161,6 @@ class Store(object):
|
|||
make_local_strategy,
|
||||
)
|
||||
|
||||
@cached_property
|
||||
def cmd_runner(self):
|
||||
return PrefixedCommandRunner(self.directory)
|
||||
|
||||
@cached_property
|
||||
def db_path(self):
|
||||
return os.path.join(self.directory, 'db.db')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue