```[foo] bar.add = ['baz']```
# general
h
Copy code
[foo]
bar.add = ['baz']
👀 1
b
That breaks Pants, lol
Copy code
[cli.alias]
auto.add  = "--changed-since=master --changed-dependees=transitive"
->
Copy code
Traceback (most recent call last):
  File "/home/joshuacannon/.cache/pants/setup/bootstrap-Linux-x86_64/2.14.0rc3_py39/bin/pants", line 8, in <module>
    sys.exit(main())
  File "/home/joshuacannon/.cache/pants/setup/bootstrap-Linux-x86_64/2.14.0rc3_py39/lib/python3.9/site-packages/pants/bin/pants_loader.py", line 112, in main
    PantsLoader.main()
  File "/home/joshuacannon/.cache/pants/setup/bootstrap-Linux-x86_64/2.14.0rc3_py39/lib/python3.9/site-packages/pants/bin/pants_loader.py", line 108, in main
    cls.run_default_entrypoint()
  File "/home/joshuacannon/.cache/pants/setup/bootstrap-Linux-x86_64/2.14.0rc3_py39/lib/python3.9/site-packages/pants/bin/pants_loader.py", line 90, in run_default_entrypoint
    exit_code = runner.run(start_time)
  File "/home/joshuacannon/.cache/pants/setup/bootstrap-Linux-x86_64/2.14.0rc3_py39/lib/python3.9/site-packages/pants/bin/pants_runner.py", line 64, in run
    options_bootstrapper = OptionsBootstrapper.create(
  File "/home/joshuacannon/.cache/pants/setup/bootstrap-Linux-x86_64/2.14.0rc3_py39/lib/python3.9/site-packages/pants/option/options_bootstrapper.py", line 170, in create
    alias = CliAlias.from_dict(val)
  File "/home/joshuacannon/.cache/pants/setup/bootstrap-Linux-x86_64/2.14.0rc3_py39/lib/python3.9/site-packages/pants/option/alias.py", line 78, in from_dict
    definitions = {key: tuple(shlex.split(value)) for key, value in aliases.items()}
  File "/home/joshuacannon/.cache/pants/setup/bootstrap-Linux-x86_64/2.14.0rc3_py39/lib/python3.9/site-packages/pants/option/alias.py", line 78, in <dictcomp>
    definitions = {key: tuple(shlex.split(value)) for key, value in aliases.items()}
  File "/usr/lib/python3.9/shlex.py", line 315, in split
    return list(lex)
  File "/usr/lib/python3.9/shlex.py", line 300, in __next__
    token = self.get_token()
  File "/usr/lib/python3.9/shlex.py", line 109, in get_token
    raw = self.read_token()
  File "/usr/lib/python3.9/shlex.py", line 140, in read_token
    nextchar = self.instream.read(1)
AttributeError: 'dict' object has no attribute 'read'
c
On which version of Pants?
b
2.14.0rc3
c
Oh wait, yeah I tried the other thing with
[cli.alias.add]
on 2.13 with a similar error… so got my wired crossed for a bit there..