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
Tox 4 interprets quoted hash in commands as comment start #2662
Comments
Workaround for tox-dev/tox#2662 .
This is documented in https://tox.wiki/en/latest/faq.html#tox-4-changed-ini-rules Your example would probably need to look like: [testenv]
allowlist_externals = sed
commands = sed -i 's\#/path/to\#/newpath/to\#' test.txt As you already know ( galaxyproject/ephemeris@f8e754f ) you can easily use a different marker/separator, e.g. |
Thanks for the quick reply. Search for |
Great, thanks @jugmac00 ! |
Issue
Using
'foo#bar' other
as part of a command seems to truncate it as soon as the first hash is encountered (i.e.'foo
).Environment
Provide at least:
pip list
of the host Python wheretox
is installed: irrelevantOutput of running tox
Minimal example
Minimal
tox.ini
to reproduce:The text was updated successfully, but these errors were encountered: