Module ImportFrom alias alias alias alias alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Str decorator_list decorator_list
N/A __future__ absolute_import division generators nested_scopes print_function unicode_literals with_statement pants_test.contrib.python.checks.tasks.checkstyle.plugin_test_base CheckstylePluginTestBase pants.contrib.python.checks.tasks.checkstyle.common Nit PythonFile pants.contrib.python.checks.tasks.checkstyle.future_compatibility FutureCompatibility N/A BAD_CLASS N/A N/A PythonFile from_statement 
class Distiller(object):
  CONSTANT = "foo"

  def foo(self, value):
    return os.path.join(Distiller.CONSTANT, value)
 FutureCompatibilityTest N/A CheckstylePluginTestBase N/A N/A plugin_type FutureCompatibility exemplar_fail N/A N/A self code severity statement N/A N/A N/A N/A N/A self assertNit statement code severity N/A exemplar_pass N/A N/A self statement N/A N/A N/A N/A N/A self assertNoNits statement N/A test_xrange N/A N/A self N/A N/A N/A N/A N/A self exemplar_fail T603 N/A Nit ERROR 
      for k in range(5):
        pass
      for k in xrange(10):
        pass
     N/A N/A N/A self exemplar_pass 
      for k in obj.xrange(10):
        pass
     N/A test_iters N/A N/A self N/A N/A N/A function_name N/A FutureCompatibility BAD_ITERS N/A N/A N/A N/A self exemplar_fail T602 N/A Nit ERROR N/A 
        d = {1: 2, 2: 3, 3: 4}
        for k in d.%s():
          pass
        for k in d.values():
          pass
       function_name N/A test_names N/A N/A self N/A N/A N/A class_name N/A FutureCompatibility BAD_NAMES N/A N/A N/A N/A self exemplar_fail T604 N/A Nit ERROR N/A 
        if isinstance(k, %s):
          pass
        if isinstance(k, str):
          pass
       class_name N/A test_metaclass N/A N/A self N/A N/A N/A N/A N/A self exemplar_fail T605 N/A Nit WARNING 
      class Singleton(object):
        __metaclass__ = SingletonMetaclass
        CONSTANT = 2 + 3

        def __init__(self):
          pass
     N/A N/A