https://pantsbuild.org/ logo
#general
Title
# general
a

astonishing-jelly-60479

06/24/2020, 3:02 PM
is there any way to glob targets in a
dependencies
parameter, like you can do with
:
or
::
on the command-line? like, to specify that a target depends on all targets at a given directory without individually listing each target in said directory?
h

hundreds-father-404

06/24/2020, 3:26 PM
There is not. Instead, we leaned into a feature called dependency inference, where Pants will read your Python import statements to auto-populate the
dependencies
field for you. See here for more info: https://pants.readme.io/v1.30/docs/release-notes-1-30#experimental-dependency-inference-feature What’s your use case for globbing?
2 Views