I am having issues adding options w/ type dict and...
# plugins
p
I am having issues adding options w/ type dict and specifying the values via toml. I managed to repo in the pants, this is the diff:
running pants help and it crashes looking for a weird scope...
note the scope name (
flake8.festivus
and not
flake8
)
my guess is that there is a bug in the toml ingestion logic that doesn't handle 2nd level objects correctly.
@hundreds-father-404 any ideas ?
h
Yeah, dicts are treated as strings in our TOML, not proper TOML dictionaries. https://www.pantsbuild.org/docs/options#dict-values This was in part to avoid ambiguity with subscopes, in part to have the syntax align with the old pants.ini format and the current CLI and env var syntax
p
got it. thanks.