Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ec2e15f

Browse files
committed
pre-commit run --all-files
1 parent d71a75f commit ec2e15f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

pre_commit/store.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,10 @@ def _shallow_clone(self, ref, protocol_version, git_cmd):
148148
git_config = 'protocol.version={}'.format(protocol_version)
149149
git_cmd('-c', git_config, 'fetch', 'origin', ref, '--depth=1')
150150
git_cmd('checkout', ref)
151-
git_cmd('-c', git_config, 'submodule', 'update', '--init',
152-
'--recursive', '--depth=1')
151+
git_cmd(
152+
'-c', git_config, 'submodule', 'update', '--init',
153+
'--recursive', '--depth=1',
154+
)
153155

154156
def clone(self, repo, ref, deps=()):
155157
"""Clone the given url and checkout the specific ref."""

0 commit comments

Comments
 (0)