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

Fail on blanks in passed env vars #2671

Merged
merged 2 commits into from Dec 11, 2022

Conversation

ericzolf
Copy link
Contributor

@ericzolf ericzolf commented Dec 10, 2022

Avoids to oversee pass_env/passenv going from blank to comma separated list between tox 3 and 4
Resolves #2658

(as I create this PR, I allowed myself to fix the tox -e fix_lint checkmark)

Thanks for contribution

Please, make sure you address all the checklists (for details on how see
development documentation)!

  • ran the linter to address style issues (tox -e fix)
  • wrote descriptive pull request text
  • ensured there are test(s) validating the fix
  • added news fragment in docs/changelog folder
  • updated/extended the documentation

I know that I'm not fully done but I would appreciate first feedback on my code before I pursue, as this is my first PR for this project.

@ericzolf
Copy link
Contributor Author

OK, moved to #2672

Avoids to oversee pass_env/passenv going from blank to comma separated list
Resolves tox-dev#2658
@ericzolf ericzolf marked this pull request as ready for review December 10, 2022 10:35
src/tox/tox_env/api.py Outdated Show resolved Hide resolved
tests/tox_env/test_tox_env_api.py Outdated Show resolved Hide resolved
tests/tox_env/test_tox_env_api.py Outdated Show resolved Hide resolved
tests/tox_env/test_tox_env_api.py Outdated Show resolved Hide resolved
docs/changelog/2658.feature.rst Outdated Show resolved Hide resolved
Signed-off-by: Bernát Gábor <bgabor8@bloomberg.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

passenv should fail on environment variables containing spaces
3 participants