Module ImportFrom alias alias alias alias alias alias alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad If NameLoad body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad Call AttributeLoad Str attr NameLoad With Call NameLoad NameLoad NameStore body For NameStore Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword NameLoad orelse Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr NameLoad body Return NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr NameLoad attr Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr NameLoad attr Call AttributeLoad Str attr NameLoad decorator_list decorator_list Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam defaults body Return BinOpAdd Call AttributeLoad Call NameLoad NameLoad NameLoad attr TupleLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Expr Call NameLoad Str keyword NameLoad keyword NameLoad keyword Str Expr Call NameLoad Str keyword NameLoad keyword NameLoad keyword NameLoad keyword Str Expr Call NameLoad Str keyword NameLoad keyword NameLoad keyword NameLoad keyword Str Expr Call NameLoad Str keyword NameLoad keyword Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Lambda arguments args NameParam defaults BoolOpAnd Call NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body If AttributeLoad Call AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Return Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Return With Call AttributeLoad NameLoad attr NameLoad NameStore body Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore BoolOpOr AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad Str attr keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad Str attr keyword NameLoad If NameLoad body FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Call NameLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad Str NameLoad Str Call NameLoad NameLoad Str Call NameLoad NameLoad Return Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad Call AttributeLoad NameLoad attr attr keyword BinOpAdd NameLoad NameLoad decorator_list Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr NameLoad If CompareNotEq NameLoad Num body Raise Call NameLoad Call AttributeLoad Str attr keyword AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr attr If UnaryOpNot NameLoad body Raise Call AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A __future__ absolute_import division generators nested_scopes print_function unicode_literals with_statement N/A os N/A re pants.backend.jvm.subsystems.scala_platform ScalaPlatform pants.backend.jvm.tasks.nailgun_task NailgunTask pants.base.exceptions TaskError pants.build_graph.target Target pants.option.custom_types file_option pants.process.xargs Xargs pants.util.dirutil touch FileExcluder N/A object N/A __init__ N/A N/A self excludes_path log N/A N/A N/A N/A self excludes N/A set N/A excludes_path N/A N/A N/A N/A N/A N/A os path exists excludes_path N/A N/A N/A TaskError N/A N/A Excludes file does not exist: {0} format excludes_path N/A N/A open excludes_path fh N/A N/A line N/A N/A fh readlines N/A N/A pattern N/A N/A line strip N/A N/A pattern N/A N/A N/A pattern startswith # N/A N/A N/A N/A N/A self excludes add N/A N/A re compile pattern N/A N/A N/A log debug N/A N/A Exclude pattern: {pattern} format pattern pattern N/A N/A N/A N/A log debug No excludes file specified. All scala sources will be checked. N/A should_include N/A N/A self source_filename N/A N/A N/A exclude N/A self excludes N/A N/A N/A N/A exclude match source_filename N/A N/A False N/A True N/A N/A Scalastyle N/A NailgunTask N/A N/A Checks scala source files to ensure they're stylish.

  Scalastyle only checks scala sources in non-synthetic targets.

  :API: public
   UnspecifiedConfig N/A TaskError N/A __init__ N/A N/A self N/A N/A N/A N/A N/A N/A super N/A Scalastyle UnspecifiedConfig self __init__ Path to scalastyle config file must be specified. N/A N/A MissingConfig N/A TaskError N/A __init__ N/A N/A self path N/A N/A N/A N/A N/A N/A super N/A Scalastyle MissingConfig self __init__ N/A N/A Scalastyle config file does not exist: {0}. format path N/A N/A N/A _SCALA_SOURCE_EXTENSION .scala N/A _MAIN org.scalastyle.Main subsystem_dependencies N/A N/A cls N/A N/A N/A N/A N/A N/A N/A super Scalastyle cls subsystem_dependencies N/A ScalaPlatform N/A classmethod register_options N/A N/A cls register N/A N/A N/A N/A N/A N/A super Scalastyle cls register_options register N/A N/A register --skip type bool fingerprint True help Skip scalastyle. N/A N/A register --config type file_option advanced True fingerprint True help Path to scalastyle config file. N/A N/A register --excludes type file_option advanced True fingerprint True help Path to optional scalastyle excludes file. Each line is a regex. (Blank lines and lines starting with '#' are ignored.) A file is skipped if its path (relative to the repo root) matches any of these regexes. N/A N/A register --verbose type bool help Enable verbose scalastyle output. N/A classmethod get_non_synthetic_scala_targets N/A N/A cls targets N/A N/A N/A N/A filter N/A N/A N/A target N/A N/A N/A isinstance target Target N/A N/A target has_sources N/A cls _SCALA_SOURCE_EXTENSION N/A N/A target is_synthetic targets N/A classmethod get_non_excluded_scala_sources N/A N/A cls scalastyle_excluder scala_targets N/A N/A N/A scala_sources N/A list N/A target scala_targets N/A N/A N/A N/A scala_sources extend N/A N/A target sources_relative_to_buildroot N/A scala_sources N/A filter N/A N/A N/A filename N/A N/A N/A filename endswith N/A cls _SCALA_SOURCE_EXTENSION scala_sources N/A scala_sources N/A filter N/A scalastyle_excluder should_include scala_sources N/A scala_sources N/A classmethod __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super Scalastyle self __init__ args kwargs N/A N/A self _results_dir N/A N/A N/A os path join N/A self workdir results N/A _create_result_file N/A N/A self target N/A N/A N/A result_file N/A N/A N/A os path join N/A self _results_dir N/A target id N/A N/A touch result_file N/A result_file N/A cache_target_dirs N/A N/A self N/A N/A N/A True N/A property execute N/A N/A self N/A N/A N/A N/A N/A N/A self get_options skip N/A N/A N/A N/A N/A N/A self context log info Skipping scalastyle. N/A N/A targets N/A N/A self get_non_synthetic_scala_targets N/A N/A N/A self context targets N/A N/A targets N/A N/A N/A N/A N/A self invalidated targets invalidation_check N/A N/A invalid_targets N/A N/A vt target N/A vt N/A invalidation_check invalid_vts N/A scalastyle_config N/A N/A self validate_scalastyle_config N/A scalastyle_verbose N/A N/A N/A self get_options verbose N/A scalastyle_quiet N/A N/A N/A N/A self get_options quiet False N/A scalastyle_excluder N/A N/A self create_file_excluder N/A N/A N/A N/A N/A self context log debug Non synthetic scala targets to be checked: N/A target invalid_targets N/A N/A N/A N/A N/A N/A self context log debug N/A N/A   {address_spec} format address_spec N/A N/A target address spec N/A scala_sources N/A N/A self get_non_excluded_scala_sources scalastyle_excluder invalid_targets N/A N/A N/A N/A N/A self context log debug Non excluded scala sources to be checked: N/A source scala_sources N/A N/A N/A N/A N/A N/A self context log debug N/A N/A   {source} format source source N/A scala_sources N/A call N/A N/A srcs N/A N/A to_java_boolean N/A N/A x N/A N/A N/A N/A N/A N/A str x lower N/A N/A cp N/A N/A N/A N/A ScalaPlatform global_instance style_classpath N/A N/A self context products N/A scalastyle_args N/A -c scalastyle_config -v N/A to_java_boolean scalastyle_verbose -q N/A to_java_boolean scalastyle_quiet N/A N/A N/A self runjava classpath cp main N/A self _MAIN jvm_options N/A N/A N/A self get_options jvm_options args N/A scalastyle_args srcs N/A N/A result N/A N/A N/A Xargs call execute scala_sources N/A N/A result 0 N/A N/A N/A TaskError N/A N/A java {entry} ... exited non-zero ({exit_code}) format entry N/A Scalastyle _MAIN exit_code result N/A validate_scalastyle_config N/A N/A self N/A N/A N/A scalastyle_config N/A N/A N/A self get_options config N/A N/A scalastyle_config N/A N/A N/A N/A Scalastyle UnspecifiedConfig N/A N/A N/A N/A N/A os path exists scalastyle_config N/A N/A N/A N/A Scalastyle MissingConfig scalastyle_config N/A scalastyle_config N/A create_file_excluder N/A N/A self N/A N/A N/A N/A FileExcluder N/A N/A N/A self get_options excludes N/A N/A self context log N/A N/A