Skip to content

Commit 6d32b25

Browse files
committed
Fix linting errors in tests
1 parent ca35951 commit 6d32b25

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

readthedocs/rtd_tests/utils.py

+11-2
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,22 @@ def make_test_git():
5959
gitmodules_path = pjoin(directory, '.gitmodules')
6060
with open(gitmodules_path, 'w') as fh:
6161
fh.write('''[submodule "foobar"]\n\tpath = foobar\n\turl = https://foobar.com/git\n''')
62-
log.info(check_output(['git', 'update-index', '--add', '--cacheinfo', '160000', '233febf4846d7a0aeb95b6c28962e06e21d13688', 'foobar'], env=env))
62+
log.info(check_output(
63+
[
64+
'git', 'update-index', '--add', '--cacheinfo', '160000',
65+
'233febf4846d7a0aeb95b6c28962e06e21d13688', 'foobar',
66+
],
67+
env=env,
68+
))
6369
log.info(check_output(['git', 'add', '.'], env=env))
6470
log.info(check_output(['git', 'commit', '-m"Add submodule"'], env=env))
6571

6672
# Add an invalid submodule URL in the invalidsubmodule branch
6773
log.info(check_output(['git', 'checkout', '-b', 'invalidsubmodule', 'master'], env=env))
68-
log.info(check_output(['git', 'submodule', 'add', '-b', 'master', './', 'invalidsubmodule'], env=env))
74+
log.info(check_output(
75+
['git', 'submodule', 'add', '-b', 'master', './', 'invalidsubmodule'],
76+
env=env,
77+
))
6978
log.info(check_output(['git', 'add', '.'], env=env))
7079
log.info(check_output(['git', 'commit', '-m"Add invalid submodule"'], env=env))
7180
# Checkout to master branch again

0 commit comments

Comments
 (0)