utils/pypi: style
Signed-off-by: William Woodruff <william@yossarian.net>
This commit is contained in:
parent
f923b337b7
commit
43ba30e8a9
@ -31,8 +31,8 @@ module PyPI
|
|||||||
# try and use `pip install -q --no-deps --dry-run --report ...` to get its
|
# try and use `pip install -q --no-deps --dry-run --report ...` to get its
|
||||||
# name and version.
|
# name and version.
|
||||||
command =
|
command =
|
||||||
[Formula["python"].bin/"python3", "-m", "pip", "install", "-q", "--no-deps", "--dry-run", "--ignore-installed", "--report",
|
[Formula["python"].bin/"python3", "-m", "pip", "install", "-q", "--no-deps",
|
||||||
"/dev/stdout", package_string]
|
"--dry-run", "--ignore-installed", "--report", "/dev/stdout", package_string]
|
||||||
pip_output = Utils.popen_read({ "PIP_REQUIRE_VIRTUALENV" => "false" }, *command)
|
pip_output = Utils.popen_read({ "PIP_REQUIRE_VIRTUALENV" => "false" }, *command)
|
||||||
unless $CHILD_STATUS.success?
|
unless $CHILD_STATUS.success?
|
||||||
raise ArgumentError, <<~EOS
|
raise ArgumentError, <<~EOS
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user