Skip to content

Commit

Permalink
Test yapf formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
petya2164 committed Feb 7, 2019
1 parent ba6eb4c commit ca886b4
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/wurf/virtualenv.py
Expand Up @@ -94,7 +94,7 @@ def pip_local_install(self, pip_packages_path, packages):
"""
packages = " ".join(packages)

assert(os.path.isdir(pip_packages_path))
assert (os.path.isdir(pip_packages_path))

self.run('python -m pip install --no-index --find-links={} {}'.format(
pip_packages_path, packages))
Expand All @@ -120,8 +120,14 @@ def __exit__(self, type, value, traceback):
remove_directory(path=self.path)

@staticmethod
def create(ctx, log, cwd=None, env=None, name=None, overwrite=True,
download=True, download_path=None):
def create(ctx,
log,
cwd=None,
env=None,
name=None,
overwrite=True,
download=True,
download_path=None):
""" Create a new virtual env.
:param ctx: The Waf Context used to run commands.
Expand Down

0 comments on commit ca886b4

Please sign in to comment.