Docs give the following example for pyproject.toml content:
[[tools.entangled]]
version = "2.0"
watch_list = ["docs/**/*.md"]
This doesn't work, because the double brackets turn the entangled config from a table into a list.
They are however needed when configuring languages with [[tool.entangled.languages]].
Reproduce/Verify
For testing, put the following snippets in a pyproject.toml file and tangle something.
Fails
These don't work for me:
Config is a list, not a dict.
[[tool.entangled]]
version = '2.0'
[[tool.entangled.languages]]
name = 'SomeLang'
identifiers = ['some']
comment = { open = '//' }
Docs give the following example for
pyproject.toml
content:This doesn't work, because the double brackets turn the entangled config from a table into a list. They are however needed when configuring languages with
[[tool.entangled.languages]]
.Reproduce/Verify
For testing, put the following snippets in a
pyproject.toml
file and tangle something.Fails
These don't work for me:
Config is a list, not a dict.
Languages is a dict, not a list.
Works
Config is a dict, languages is a list.