Fix py27 oddity with trailing commas
@@ -78,7 +78,7 @@ class PythonEnvironment(object):
self.project.pip_cache_path,
'.{0}'.format(extra_req_param),
cwd=self.checkout_path,
- bin_path=self.venv_bin()
+ bin_path=self.venv_bin(),
)
elif self.config.python.install_with_setup:
self.build_env.run(
@@ -87,7 +87,7 @@ class PythonEnvironment(object):
'install',
'--force',
cwd=self.checkout_path,
- bin_path=self.venv_bin()
+ bin_path=self.venv_bin(),
)
def venv_bin(self, filename=None):
@@ -269,7 +269,7 @@ class Virtualenv(PythonEnvironment):
self.build_env.run(
*cmd,
bin_path=self.venv_bin(),
- cwd=self.checkout_path,
+ cwd=self.checkout_path # noqa - no comma here in py27 :/
)
def install_user_requirements(self):
@@ -304,7 +304,7 @@ class Virtualenv(PythonEnvironment):
self.build_env.run(
*args,
cwd=self.checkout_path,
- bin_path=self.venv_bin()
+ bin_path=self.venv_bin() # noqa - no comma here in py27 :/
)
@@ -368,7 +368,7 @@ class Conda(PythonEnvironment):
cmd.extend(requirements)
self.build_env.run(
*cmd,
- cwd=self.checkout_path,
+ cwd=self.checkout_path # noqa - no comma here in py27 :/
)
pip_cmd = [
@@ -383,7 +383,7 @@ class Conda(PythonEnvironment):
self.build_env.run(
*pip_cmd,
bin_path=self.venv_bin(),
- cwd=self.checkout_path,
+ cwd=self.checkout_path # noqa - no comma here in py27 :/
)
def install_user_requirements(self):
