mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-27 03:18:39 -06:00
Better project structure
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
|
||||
import os
|
||||
import os.path
|
||||
|
||||
@@ -40,7 +39,7 @@ class Runner(object):
|
||||
def repositories(self):
|
||||
"""Returns a tuple of the configured repositories."""
|
||||
config = load_config(self.config_file_path)
|
||||
return tuple(map(Repository, config))
|
||||
return tuple(Repository(x) for x in config)
|
||||
|
||||
@cached_property
|
||||
def pre_commit_path(self):
|
||||
|
||||
Reference in New Issue
Block a user