Skip to content

Commit 549570d

Browse files
committed
format
1 parent 2d59623 commit 549570d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

python/private/pypi/whl_library.bzl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,10 @@ def _parse_optional_attrs(rctx, args, extra_pip_args = None):
184184
if "LDFLAGS" in env:
185185
fail("Can't set both environment LDFLAGS and add_libdir_to_library_search_path")
186186
command = [
187-
pypi_repo_utils.resolve_python_interpreter(rctx), "-c", "import sys ; sys.stdout.write('{}/lib'.format(sys.exec_prefix))"]
187+
pypi_repo_utils.resolve_python_interpreter(rctx),
188+
"-c",
189+
"import sys ; sys.stdout.write('{}/lib'.format(sys.exec_prefix))",
190+
]
188191
result = rctx.execute(command)
189192
if result.return_code != 0:
190193
fail("Failed to get LDFLAGS path: command: {}, exit code: {}, stdout: {}, stderr: {}".format(command, result.return_code, result.stdout, result.stderr))
@@ -365,6 +368,7 @@ def _whl_library_impl(rctx):
365368
rctx.attr.requirement,
366369
]
367370
args = _parse_optional_attrs(rctx, args, extra_pip_args)
371+
368372
# Manually construct the PYTHONPATH since we cannot use the toolchain here
369373
environment = _create_repository_execution_environment(rctx, python_interpreter, logger = logger)
370374

0 commit comments

Comments
 (0)