pre-commit run --all-files

This commit is contained in:
Anthony Sottile 2019-03-14 18:32:27 -07:00
parent d71a75fea2
commit ec2e15f086

View file

@ -148,8 +148,10 @@ class Store(object):
git_config = 'protocol.version={}'.format(protocol_version) git_config = 'protocol.version={}'.format(protocol_version)
git_cmd('-c', git_config, 'fetch', 'origin', ref, '--depth=1') git_cmd('-c', git_config, 'fetch', 'origin', ref, '--depth=1')
git_cmd('checkout', ref) git_cmd('checkout', ref)
git_cmd('-c', git_config, 'submodule', 'update', '--init', git_cmd(
'--recursive', '--depth=1') '-c', git_config, 'submodule', 'update', '--init',
'--recursive', '--depth=1',
)
def clone(self, repo, ref, deps=()): def clone(self, repo, ref, deps=()):
"""Clone the given url and checkout the specific ref.""" """Clone the given url and checkout the specific ref."""