Henry Schreiner and Joe Rickerby
f45de3f24e
feat: support passenv ( #914 )
...
* feat: support passenv
* refactor: environment-pass and spaces
* docs: document environment pass
* Add unit test for passing through awkward env variable values
* Remove unused as_shell_commands method from environment
* Fix passthrough edge case by avoiding bash for passthrough assignments
* Fix mypy error in test
* Fix unit test
* Apply suggestions from code review
Co-authored-by: Joe Rickerby <joerick@mac.com >
2021-11-21 15:19:45 -05:00
Henry Schreiner
25c27ad283
style: check spelling in pre-commit ( #758 )
2021-07-14 13:45:04 -04:00
Henry Schreiner
bda76b21cb
style: activate string normalization
2021-05-03 13:12:36 -04:00
Henry Schreiner
178aaea6c7
style: apply black via pre-commit run -a
2021-05-03 13:12:36 -04:00
Yannick Jadoul
44fd8b5c26
Fix test to demonstrate failure
2020-07-19 17:19:48 +02:00
Joe Rickerby
08eddeff8b
Fix test and add another more awkward example
2020-07-15 21:07:33 +01:00
Joe Rickerby
9fb748bfb0
Add unit test for this failure mode
2020-07-12 21:45:46 +01:00
Joe Rickerby
833a069207
Pass PATH during command substitution test
2020-07-05 17:39:40 +01:00
Joe Rickerby
df69dda44a
Fix broken PATH test - it was erroring for a different reason
2020-06-26 12:59:26 +01:00
Nicola Soranzo
cab6ecef24
Fix all PEP-008 issues
2020-02-14 15:50:06 +00:00
mayeut
ce93a03098
Fix tests on Windows Python 3.8
2019-11-09 12:16:25 +01:00
Joe Rickerby
34e8ee0f25
Fix empty env string case
2017-09-06 18:35:42 +01:00
Joe Rickerby
f56ddda157
Make shell evals work and add tests for that
2017-09-02 22:09:32 +01:00
Joe Rickerby
5ae4da631f
Add environment code satisfying unit test
2017-09-01 13:24:12 +01:00
Joe Rickerby
fd385a9bf8
Add some tests for the environment functionality
2017-08-30 19:05:06 +01:00