Skip to content

Commit c311c58

Browse files
committed
Fix py27 oddity with trailing commas
1 parent b89bada commit c311c58

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

readthedocs/doc_builder/python_environments.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def install_package(self):
7878
self.project.pip_cache_path,
7979
'.{0}'.format(extra_req_param),
8080
cwd=self.checkout_path,
81-
bin_path=self.venv_bin()
81+
bin_path=self.venv_bin(),
8282
)
8383
elif self.config.python.install_with_setup:
8484
self.build_env.run(
@@ -87,7 +87,7 @@ def install_package(self):
8787
'install',
8888
'--force',
8989
cwd=self.checkout_path,
90-
bin_path=self.venv_bin()
90+
bin_path=self.venv_bin(),
9191
)
9292

9393
def venv_bin(self, filename=None):
@@ -269,7 +269,7 @@ def install_core_requirements(self):
269269
self.build_env.run(
270270
*cmd,
271271
bin_path=self.venv_bin(),
272-
cwd=self.checkout_path,
272+
cwd=self.checkout_path # noqa - no comma here in py27 :/
273273
)
274274

275275
def install_user_requirements(self):
@@ -304,7 +304,7 @@ def install_user_requirements(self):
304304
self.build_env.run(
305305
*args,
306306
cwd=self.checkout_path,
307-
bin_path=self.venv_bin()
307+
bin_path=self.venv_bin() # noqa - no comma here in py27 :/
308308
)
309309

310310

@@ -368,7 +368,7 @@ def install_core_requirements(self):
368368
cmd.extend(requirements)
369369
self.build_env.run(
370370
*cmd,
371-
cwd=self.checkout_path,
371+
cwd=self.checkout_path # noqa - no comma here in py27 :/
372372
)
373373

374374
pip_cmd = [
@@ -383,7 +383,7 @@ def install_core_requirements(self):
383383
self.build_env.run(
384384
*pip_cmd,
385385
bin_path=self.venv_bin(),
386-
cwd=self.checkout_path,
386+
cwd=self.checkout_path # noqa - no comma here in py27 :/
387387
)
388388

389389
def install_user_requirements(self):

0 commit comments

Comments
 (0)