mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Rename some variables to be more like our internal state
This commit is contained in:
parent
36cfeac952
commit
f7b2948368
3 changed files with 10 additions and 25 deletions
|
|
@ -51,10 +51,6 @@ class Repository(object):
|
|||
def repo_url(self):
|
||||
return self.repo_config['repo']
|
||||
|
||||
@cached_property
|
||||
def sha(self):
|
||||
return self.repo_config['sha']
|
||||
|
||||
@cached_property
|
||||
def languages(self):
|
||||
return {
|
||||
|
|
@ -215,10 +211,6 @@ class LocalRepository(Repository):
|
|||
def cmd_runner(self):
|
||||
return PrefixedCommandRunner(git.get_root())
|
||||
|
||||
@cached_property
|
||||
def sha(self):
|
||||
raise NotImplementedError
|
||||
|
||||
@cached_property
|
||||
def manifest(self):
|
||||
raise NotImplementedError
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue