Package cheesecake :: Module cheesecake_index :: Class IndexPEP8
[show private | hide private]
[frames | no frames]

Type IndexPEP8

object --+    
         |    
     Index --+
             |
            IndexPEP8


Compute PEP8 index for the modules in the package.


Method Summary
  compute(self, files_list, package_dir)
  decide_before_download(self, cheesecake)
    Inherited from Index
  __init__(self, *indices)
  __getitem__(self, name)
  add_info(self, info_line)
Add information about index computation process, which will be visible with --verbose flag.
  add_subindex(self, index)
Add subindex.
  decide(self, cheesecake, when)
Decide if this index should be computed.
  decide_after_download(self, cheesecake)
  get_info(self)
  print_info(self)
Print index name padded with dots, followed by value and details.
  remove_subindex(self, index_name)
Remove subindex (refered by name).
  _get_max_value(self)
  _get_requirements(self)
  _iter_indices(self)
Iterate over each subindex and yield their values.
  _print_info_many(self)
  _print_info_one(self)
  compute_with(self, cheesecake)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Property Summary
    Inherited from Index
  requirements

Class Variable Summary
int error_score = -2                                                                    
int max_value = 34                                                                    
str name = 'pep8'
int warning_score = -1                                                                    
    Inherited from Index
str details = ''
str info = ''
NoneType subindices = None                                                                  
int value = -1                                                                    

Class Variable Details

error_score

Type:
int
Value:
-2                                                                    

max_value

Type:
int
Value:
34                                                                    

name

Type:
str
Value:
'pep8'                                                                 

warning_score

Type:
int
Value:
-1                                                                    

Generated by Epydoc 2.1 on Fri Feb 9 02:15:12 2007 http://epydoc.sf.net