wonderful-iron-54019
06/25/2020, 4:06 PMtoo many similar lines
error between different targets. which based on my understanding of pants execution model should be impossiblewitty-crayon-22786
06/25/2020, 4:18 PMwonderful-iron-54019
06/25/2020, 4:23 PMwitty-crayon-22786
06/25/2020, 4:24 PMwonderful-iron-54019
06/25/2020, 4:24 PM[pylint]
version = "pylint==2.3.1"
config = ".pylintrc"
source_plugins = ["build-support/pylint:custom-linters"]
toml
witty-crayon-22786
06/25/2020, 4:36 PM--[no-]lint-per-target-caching
default: False
Rather than running all targets in a single batch, run each target as a separate
process. Why do this? You'll get many more cache hits. Why not do this? Linters
both have substantial startup overhead and are cheap to add one additional file
to the run. On a cold cache, it is much faster to use `--no-per-target-caching`.
We only recommend using `--per-target-caching` if you are using a remote cache
or if you have benchmarked that this option will be faster than `--no-per-
target-caching` for your use case.
wonderful-iron-54019
06/25/2020, 4:38 PMwitty-crayon-22786
06/25/2020, 4:38 PMhundreds-father-404
06/30/2020, 9:09 PMi don’t think we knew that pylint had any sort of “aggregate across all files in a target” behavior.Yeah, Pylint gives you a final score at the end of the run