Skip to content

Commit

Permalink
Fixing formatting with black
Browse files Browse the repository at this point in the history
  • Loading branch information
kronos30 committed Aug 11, 2023
1 parent 443d883 commit 0a53c58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions catkin_virtualenv/src/catkin_virtualenv/venv.py
Expand Up @@ -102,16 +102,16 @@ def initialize(self, python, use_system_packages, extra_pip_args, clean=True):
get_pip_path, _ = urlretrieve("https://bootstrap.pypa.io/pip/get-pip.py")
run_command([self._venv_bin("python"), get_pip_path], check=True)

#(gservin): test --no-cache-dir
# (gservin): test --no-cache-dir
run_command(
[self._venv_bin("python"), "-m", "pip", "install", "--no-cache-dir", "-vvv"] + extra_pip_args + preinstall,
check=True
check=True,
)

def install(self, requirements, extra_pip_args):
"""Purge the cache first before installing.""" # (KLAD) testing to debug an issue on build farm
command = [self._venv_bin("python"), "-m", "pip", "cache", "purge"]
""" Sync a virtualenv with the specified requirements.""" #(KLAD) testing no-cache-dir
""" Sync a virtualenv with the specified requirements.""" # (KLAD) testing no-cache-dir
command = [self._venv_bin("python"), "-m", "pip", "install", "-vvv", "--no-cache-dir"] + extra_pip_args
for req in requirements:
run_command(command + ["-r", req], check=True)
Expand Down

0 comments on commit 0a53c58

Please sign in to comment.