careful-address-89803
06/06/2022, 2:40 AMtoml.load
to get them all. Does anyone have something better?
This is useful to me while comparing the output of a tool in its natural habitat and withing Pants; and for testing source file detection.bitter-ability-32190
06/06/2022, 10:14 AMpeek
and list
are your friend, and can be filtered by tag, or by using the filter
goal and piping+ xargs
to those other 2careful-address-89803
06/06/2022, 2:01 PMhundreds-father-404
06/06/2022, 2:34 PMpkgutil.get_data
, or the filesystem API like open()
But you have to declare either a `file`/`files` or `resource`/`resources` target for it, and add that as a dependency to your python_test
/ python_tests
. No difference between those two, @bitter-ability-32190 has a proposal to simplify thatbitter-ability-32190
06/06/2022, 2:39 PMcareful-address-89803
06/16/2022, 3:19 AMos.walk
, some munging, and then rulerunner.write_files
?