You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you open a hatch environment, hatch shell and run python test.py example_{{template}}.py, this will output the expected string, "Received: example_{{template}}.py". But if you run this with hatch run it will output "Received: example_{template}.py".
Is this an expected behavior? This was a surprising behavior for me, and it feels like hatch should be escaping parameters before calling python's string formatter on them or communicating this behavior in the docs.
Command to reproduce the issue: hatch run python test.py example_{{template}}.py on the above file.
The text was updated successfully, but these errors were encountered:
Example python executable file,
test.py
:If you open a hatch environment,
hatch shell
and runpython test.py example_{{template}}.py
, this will output the expected string, "Received: example_{{template}}.py". But if you run this withhatch run
it will output "Received: example_{template}.py".Is this an expected behavior? This was a surprising behavior for me, and it feels like hatch should be escaping parameters before calling python's string formatter on them or communicating this behavior in the docs.
Command to reproduce the issue:
hatch run python test.py example_{{template}}.py
on the above file.The text was updated successfully, but these errors were encountered: