peek
output for target generators like python_tests
do not include relevant goals
#20886
Labels
peek
output for target generators like python_tests
do not include relevant goals
#20886
Is your feature request related to a problem? Please describe.
As of #20331,
peek
now can indicate some goals that apply for some targets (very cool). It looks like this mostly works for single-file targets, not generators likepython_tests
. Those generators are valid sources of some goals (e.g.test
,lint
etc.), although not all goals that they're isolated files are valid for (e.g.run
only works with one file).In https://github.com/pantsbuild/example-python (at 55cf90bc4a1e4ccc47749aa39d299b5dace79adc), running
PANTS_VERSION=2.21.0a0 pants peek --exclude-defaults helloworld/greet:tests helloworld/greet/greeting_test.py
(--exclude-defaults
just to make this output nicer):Note that:
helloworld/greet:tests
has nogoals
keyhelloworld/greet/greeting_test.py:tests
does have oneDescribe the solution you'd like
Include appropriate
goals
output for target generators too, somehow.Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: