Open sg3-141-592 opened 1 year ago
Hello,
Thanks for reporting this issue and sorry for the late reply.
I think the error is related to the presence of the dash in lines with abc
and def
.
If I remove these dashes, then, the error disappear:
$ tox -r -e venv -- niet -f eval . /tmp/test.yaml
...
venv: commands[0]> niet -f eval . /tmp/test.yaml
hello__world__abc="123";hello__world__def="456"
.pkg: _exit> python /usr/lib/python3.12/site-packages/pyproject_api/_backend.py True hatchling.build
venv: OK (8.86=setup[8.76]+cmd[0.10] seconds)
congratulations :) (8.99 seconds)
Is these dashes are mandatory?
Tested using
niet ==3.2.0
andpython 3.11.1
When trying to parse dictionaries that are in a list we get an error