mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
Remove more properties from Runner
This commit is contained in:
parent
8f6fe8c9e6
commit
b87c4fd8cc
5 changed files with 43 additions and 87 deletions
|
|
@ -7,8 +7,6 @@ import os.path
|
|||
import sqlite3
|
||||
import tempfile
|
||||
|
||||
from cached_property import cached_property
|
||||
|
||||
import pre_commit.constants as C
|
||||
from pre_commit import file_lock
|
||||
from pre_commit.util import clean_path_on_failure
|
||||
|
|
@ -173,6 +171,6 @@ class Store(object):
|
|||
'local', C.LOCAL_REPO_VERSION, deps, make_local_strategy,
|
||||
)
|
||||
|
||||
@cached_property
|
||||
@property
|
||||
def db_path(self):
|
||||
return os.path.join(self.directory, 'db.db')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue