https://pantsbuild.org/ logo
r

rhythmic-morning-87313

04/29/2022, 2:01 PM
Q7: When the doc mentions
python_requirements
, there is a special target reference format
//:reqs
. Could someone explain what this means?
1
c

curved-television-6568

04/29/2022, 2:03 PM
The
//
simply means to go from the root, contrary to just
:reqs
which would be for a sibling.
r

rhythmic-morning-87313

04/29/2022, 2:03 PM
Thanks!
c

curved-television-6568

04/29/2022, 2:03 PM
Normally, we don’t need the
//
though, as
some/other:target
always goes from the root, never as sibling, so it is only targets at the root, that needs it.
6 Views