polite-garden-50641
07/08/2020, 10:59 PM./pants dependencies --dependencies-transitive --dependencies-type=3rdparty src/python/something/something::
and I want it to only look at python_library
and ignore python_tests
witty-crayon-22786
07/08/2020, 11:16 PMfilter
./pants filter --target-type=.. src/python/something/something:: > filtered.txt && ./pants --spec-file=filtered.txt dependencies ..
filter --target-type
. but yea, other than that.polite-garden-50641
07/08/2020, 11:23 PMwitty-crayon-22786
07/08/2020, 11:24 PM--dependees
values per goal, but could probably move filter there too…hundreds-father-404
07/08/2020, 11:32 PM--query
dependees
, then pipe to a run that does filter --target-type
witty-crayon-22786
07/08/2020, 11:33 PMquery
(or whatever we call it… maybe filter
with an option --query
) were a scoped subsystem, you could do ./pants lint --filter-query=.. typecheck --filter-query=..
… and have different queries per goal./pants lint --for-query=.. typecheck --for-tag=..
./pants --for-query=.. lint typecheck
jolly-midnight-72759
07/09/2020, 1:13 PMaws
CLI does this is with a --query
and a specialized JMSEPath query (which I always have to look up how to use, but isn't unbearable). https://docs.aws.amazon.com/cli/latest/reference/witty-crayon-22786
07/09/2020, 5:53 PM