proud-dentist-22844
05/12/2021, 5:06 AM[pylint].args ?
[pylint]
args = [
"--jobs=${PYLINT_CONCURRENCY:-1}",
]
[subprocess-environment]
env_vars.add = [
"PYLINT_CONCURRENCY",
]
It looks like I can't use shell syntax, so is there another way?
pex: error: option --jobs: invalid integer value: '${PYLINT_CONCURRENCY:-1}'hundreds-father-404
05/12/2021, 5:13 AMos.environ
In the meantime, you can set the option as an env var like PANTS_PYLINT_ARGS="+[\"--jobs=${PYLINT_CONCURRENCY:-1}\"]" (ack that is annoying to not have in a config file)proud-dentist-22844
05/12/2021, 5:25 AMhundreds-father-404
05/12/2021, 5:27 AMpants.toml if you specify an env var and it's not in os.environ? Error? Allow you to set a default with something like ${ENV_VAR:default}?hundreds-father-404
05/12/2021, 5:27 AMproud-dentist-22844
05/12/2021, 5:43 AM--jobs=0 to make pylint autodetect the number of processors available.