Public Member Functions | Private Attributes | List of all members
roslint.pep8.StandardReport Class Reference
Inheritance diagram for roslint.pep8.StandardReport:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, options)
 
def error (self, line_number, offset, text, check)
 
def get_file_results (self)
 
def init_file (self, filename, lines, expected, line_offset)
 
- Public Member Functions inherited from roslint.pep8.BaseReport
def __init__ (self, options)
 
def error (self, line_number, offset, text, check)
 
def get_count (self, prefix='')
 
def get_file_results (self)
 
def get_statistics (self, prefix='')
 
def increment_logical_line (self)
 
def init_file (self, filename, lines, expected, line_offset)
 
def print_benchmark (self)
 
def print_statistics (self, prefix='')
 
def start (self)
 
def stop (self)
 

Private Attributes

 _deferred_print
 
 _fmt
 
 _repeat
 
 _show_pep8
 
 _show_source
 

Additional Inherited Members

- Public Attributes inherited from roslint.pep8.BaseReport
 counters
 
 elapsed
 
 expected
 
 file_errors
 
 filename
 
 line_offset
 
 lines
 
 messages
 
 total_errors
 
- Static Public Attributes inherited from roslint.pep8.BaseReport
bool print_filename = False
 

Detailed Description

Collect and print the results of the checks.

Definition at line 1707 of file pep8.py.

Constructor & Destructor Documentation

def roslint.pep8.StandardReport.__init__ (   self,
  options 
)

Definition at line 1710 of file pep8.py.

Member Function Documentation

def roslint.pep8.StandardReport.error (   self,
  line_number,
  offset,
  text,
  check 
)
Report an error, according to options.

Definition at line 1724 of file pep8.py.

def roslint.pep8.StandardReport.get_file_results (   self)
Print the result and return the overall count for this file.

Definition at line 1733 of file pep8.py.

def roslint.pep8.StandardReport.init_file (   self,
  filename,
  lines,
  expected,
  line_offset 
)
Signal a new file.

Definition at line 1718 of file pep8.py.

Member Data Documentation

roslint.pep8.StandardReport._deferred_print
private

Definition at line 1720 of file pep8.py.

roslint.pep8.StandardReport._fmt
private

Definition at line 1712 of file pep8.py.

roslint.pep8.StandardReport._repeat
private

Definition at line 1714 of file pep8.py.

roslint.pep8.StandardReport._show_pep8
private

Definition at line 1716 of file pep8.py.

roslint.pep8.StandardReport._show_source
private

Definition at line 1715 of file pep8.py.


The documentation for this class was generated from the following file:


roslint
Author(s): Mike Purvis, Jack O'Quin
autogenerated on Wed May 1 2019 02:23:59