rapid-crayon-8232
01/14/2020, 4:49 PMlocal_store_dir is v1.24.0.dev2. when setting the local_store in pants.ini, it should be set without the ' ', because otherwise, it creates a folder with ' in the name, example:
[GLOBAL]
pants_version: 1.24.0.dev2
print_exception_stacktrace: True
pants_bootstrapdir: '.cache/pants'
pants_configdir: '.cache/pants/config'
local_store_dir: '.cache/pants/config/lmdb_store'
will create a folder named '.cache with subsequent subfolders
local_store_dir: .cache/pants/config/lmdb_store
fixes the issuehundreds-father-404
01/14/2020, 5:06 PMhundreds-father-404
01/14/2020, 5:07 PMrapid-crayon-8232
01/14/2020, 5:08 PMhundreds-father-404
01/14/2020, 5:09 PMrapid-crayon-8232
01/14/2020, 5:16 PMpants.toml and pyproject.toml ? pants.toml can't be used with other tools that support toml config files for example ?hundreds-father-404
01/14/2020, 5:19 PMpyproject.toml requires prefixing everything with tool.pants. So you would have tool.pants.python-setup and tool.pants.flake8 sections, rather than python-setup and flake8 sections
That doesn’t seem ideal to me, but it also allows devs to have only one config file for everything in the python ecosystem, which many people wantrapid-crayon-8232
01/14/2020, 5:22 PMtool.pants.flake8 , pants can use directly the config in tool.flake8 ?hundreds-father-404
01/14/2020, 5:25 PMpyproject.toml to derive Pants values like --flake8-config. Likely out of scope for now and not enough of the ecosystem supports pyproject.toml yet (Flake8 and MyPy don’t), but interesting thought.
I think I agree on pants.toml. Notably, Pants can be used without ever once having Python in your monorepo. It’s only an implementation detail that we use Python to run it allrapid-crayon-8232
01/14/2020, 5:36 PMhundreds-father-404
01/14/2020, 5:39 PM