Module ImportFrom alias alias alias alias alias alias alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr keyword Dict Str Str Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Call NameLoad keyword Dict Str Str Str NameLoad NameLoad NameLoad keyword Dict Str Str Str Str Lambda arguments args NameParam defaults NameLoad NameLoad NameLoad Call NameLoad keyword Str keyword Str keyword Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr IfExp NameLoad Call AttributeLoad Call NameLoad Call AttributeLoad Str attr NameLoad attr Str decorator_list decorator_list FunctionDef arguments args NameParam defaults vararg body Assign NameStore BoolOpOr NameLoad ListLoad Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list Expr Call NameLoad Str Expr Call NameLoad Str Call NameLoad Str keyword NameLoad Expr Call NameLoad Str Call NameLoad Str Call NameLoad Str keyword NameLoad Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str Call NameLoad Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword ListLoad Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Str keyword Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str keyword Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Str Str Str Str Str keyword Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Str Str Str Str Str Str Str Str Str keyword Dict Str Str Expr Call AttributeLoad NameLoad attr Str Str Str Str Str Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str keyword Dict Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Str keyword Dict Str Str NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Str attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr keyword ListLoad Call AttributeLoad NameLoad attr Str keyword Dict Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Str attr keyword Dict Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad GeneratorExp CompareNotIn Str NameLoad comprehension NameStore NameLoad decorator_list decorator_list
N/A __future__ absolute_import division generators nested_scopes print_function unicode_literals with_statement N/A os textwrap dedent pants.backend.graph_info.tasks.listtargets ListTargets pants.backend.jvm.artifact Artifact pants.backend.jvm.repository Repository pants.backend.jvm.scala_artifact ScalaArtifact pants.backend.jvm.targets.java_library JavaLibrary pants.backend.python.targets.python_library PythonLibrary pants.build_graph.build_file_aliases BuildFileAliases pants.build_graph.target Target pants_test.tasks.task_test_base ConsoleTaskTestBase BaseListTargetsTest N/A ConsoleTaskTestBase N/A task_type N/A N/A cls N/A N/A N/A ListTargets N/A classmethod N/A ListTargetsTestEmpty N/A BaseListTargetsTest N/A test_list_all_empty N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self execute_task N/A N/A N/A self assertEqual N/A N/A self execute_task options N/A sep ### N/A N/A N/A self assertEqual N/A N/A N/A self execute_console_task N/A N/A ListTargetsTest N/A BaseListTargetsTest N/A alias_groups N/A N/A self N/A N/A N/A N/A BuildFileAliases targets N/A target java_library python_library Target JavaLibrary PythonLibrary objects N/A pants artifact scala_artifact public N/A N/A N/A x N/A x Artifact ScalaArtifact N/A Repository name public url http://maven.example.com push_db_basedir /tmp N/A property setUp N/A N/A self N/A N/A N/A N/A N/A N/A super ListTargetsTest self setUp Lib N/A object N/A __init__ N/A N/A self name provides N/A False N/A N/A N/A self name name N/A N/A self provides N/A provides N/A N/A N/A dedent N/A N/A 
            artifact(
              org='com.example',
              name='{0}',
              repo=public
            )
             format name strip None N/A N/A create_library N/A N/A path N/A libs N/A N/A libs N/A libs N/A N/A Lib N/A N/A N/A os path basename N/A N/A N/A os path dirname N/A N/A self build_path path N/A lib libs N/A N/A target N/A N/A java_library(name='{name}', provides={provides}, sources=[])
 format name N/A lib name provides N/A lib provides N/A N/A N/A self add_to_build_file path target N/A N/A N/A create_library a N/A N/A create_library a/b N/A Lib b provides True N/A N/A create_library a/b/c N/A Lib c N/A Lib c2 provides True N/A Lib c3 N/A N/A create_library a/b/d N/A N/A create_library a/b/e N/A Lib e1 N/A N/A N/A self add_to_build_file f N/A dedent 
        target(
          name='alias',
          dependencies=[
            'a/b/c:c3',
            'a/b/d:d',
          ],
          description = """
        Exercises alias resolution.
        Further description.
          """,
        )
         N/A test_list_path N/A N/A self N/A N/A N/A N/A N/A self assert_console_output a/b:b targets N/A N/A N/A self target a/b N/A test_list_siblings N/A N/A self N/A N/A N/A N/A N/A self assert_console_output a/b:b targets N/A N/A self targets a/b: N/A N/A N/A self assert_console_output a/b/c:c a/b/c:c2 a/b/c:c3 targets N/A N/A self targets a/b/c/: N/A test_list_descendants N/A N/A self N/A N/A N/A N/A N/A self assert_console_output a/b/c:c a/b/c:c2 a/b/c:c3 targets N/A N/A self targets a/b/c/:: N/A N/A N/A self assert_console_output a/b:b a/b/c:c a/b/c:c2 a/b/c:c3 a/b/d:d a/b/e:e1 targets N/A N/A self targets a/b:: N/A test_list_all N/A N/A self N/A N/A N/A N/A N/A self assert_entries a:a a/b:b a/b/c:c a/b/c:c2 a/b/c:c3 a/b/d:d a/b/e:e1 f:alias N/A N/A N/A self assert_entries ,  a:a a/b:b a/b/c:c a/b/c:c2 a/b/c:c3 a/b/d:d a/b/e:e1 f:alias options N/A sep ,  N/A N/A N/A self assert_console_output a:a a/b:b a/b/c:c a/b/c:c2 a/b/c:c3 a/b/d:d a/b/e:e1 f:alias N/A test_list_provides N/A N/A self N/A N/A N/A N/A N/A self assert_console_output a/b:b com.example#b a/b/c:c2 com.example#c2 options N/A provides True N/A test_list_provides_customcols N/A N/A self N/A N/A N/A N/A N/A self assert_console_output /tmp a/b:b http://maven.example.com public com.example#b /tmp a/b/c:c2 http://maven.example.com public com.example#c2 options N/A provides provides_columns True push_db_basedir,address,repo_url,repo_name,artifact_id N/A test_list_dedups N/A N/A self N/A N/A N/A targets N/A N/A N/A N/A targets extend N/A N/A self targets a/b/d/:: N/A N/A N/A targets extend N/A N/A N/A self target f:alias dependencies N/A N/A N/A self assertEquals 3 N/A len targets Expected a duplicate of a/b/d:d N/A N/A N/A self assert_console_output a/b/c:c3 a/b/d:d targets targets N/A test_list_documented N/A N/A self N/A N/A N/A N/A N/A self assert_console_output targets N/A N/A N/A self target a/b options N/A documented True N/A N/A N/A self assert_console_output N/A N/A N/A dedent 
      f:alias
        Exercises alias resolution.
        Further description.
       strip options N/A documented True N/A test_no_synthetic_resources_in_output N/A N/A self N/A N/A N/A N/A N/A self add_to_build_file BUILD N/A dedent 
    python_library(
      name = 'lib',
      resources = ['BUILD'],
    )
     N/A output N/A N/A self execute_console_task N/A N/A N/A self assertIn //:lib output N/A N/A N/A self assertTrue N/A all N/A N/A synthetic line N/A line output N/A N/A