jayvdb / tox-backticks

tox-backticks allows use of backticks within setenv to run commands to populate environment variables that can then be accessed using {env:var}
https://pypi.org/project/tox-backticks/
MIT License
5 stars 3 forks source link

Support backticks which end before the EOL #15

Open jayvdb opened 4 years ago

jayvdb commented 4 years ago

Not 100% sure this is beneficial

e.g.

setenv = FOO=`python -c 'import sys; sys.stdout.write("foo")'`{:}bar

that can be done by splitting it into two commands

setenv =
  FOO1=`python -c 'import sys; sys.stdout.write("foo")'`
  FOO2={env:FOO1}{:}bar