Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass_env values cannot contain whitespace #14522

Closed
mtelka opened this issue Jan 25, 2023 · 0 comments · Fixed by #14578
Closed

pass_env values cannot contain whitespace #14522

mtelka opened this issue Jan 25, 2023 · 0 comments · Fixed by #14578
Labels
bug mypy got something wrong

Comments

@mtelka
Copy link
Contributor

mtelka commented Jan 25, 2023

Bug Report

tox4 does not support pass_env values with whitespace in tox.ini.

To Reproduce

$ tox -l
...
tox.tox_env.errors.Fail: pass_env values cannot contain whitespace, use comma to have multiple values in a single line, invalid values found 'PYTEST_XDIST_WORKER_COUNT PROGRAMDATA PROGRAMFILES(X86)'
$

Expected Behavior

tox -l shows list of envs

Actual Behavior

$ tox -l
...
tox.tox_env.errors.Fail: pass_env values cannot contain whitespace, use comma to have multiple values in a single line, invalid values found 'PYTEST_XDIST_WORKER_COUNT PROGRAMDATA PROGRAMFILES(X86)'
$

Your Environment

  • Mypy version used: 0.991
  • Python version used: 3.9.16
  • tox version: 4.3.5
@mtelka mtelka added the bug mypy got something wrong label Jan 25, 2023
hauntsaninja added a commit to hauntsaninja/mypy that referenced this issue Feb 1, 2023
hauntsaninja added a commit that referenced this issue Feb 1, 2023
hauntsaninja added a commit that referenced this issue Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug mypy got something wrong
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant