Skip to content

Commit

Permalink
mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
tdyas committed Jan 7, 2025
1 parent 8d33e5c commit a5abf61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python/pants/backend/python/util_rules/pex_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,12 +282,12 @@ async def setup_pex_cli_process(
normalized_argv = complete_pex_env.create_argv(pex_cli_tool.exe, *args)

# Build the environment for running the program.
env = {}
env: dict[str, str] = {}
if not pex_cli_tool.is_scie:
env.update(complete_pex_env.environment_dict(python=bootstrap_python))
env.update(python_native_code.subprocess_env_vars)
if request.extra_env:
env.update(request.extra_env) # type: ignore[dict-item]
env.update(request.extra_env)

# If a subcommand is used, we need to use the `pex3` console script.
if request.subcommand:
Expand Down

0 comments on commit a5abf61

Please sign in to comment.