Public Member Functions | Private Attributes | List of all members
roslint.pycodestyle.StandardReport Class Reference
Inheritance diagram for roslint.pycodestyle.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.pycodestyle.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.pycodestyle.BaseReport
 counters
 
 elapsed
 
 expected
 
 file_errors
 
 filename
 
 line_offset
 
 lines
 
 messages
 
 total_errors
 
- Static Public Attributes inherited from roslint.pycodestyle.BaseReport
bool print_filename = False
 

Detailed Description

Collect and print the results of the checks.

Definition at line 2268 of file pycodestyle.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 2271 of file pycodestyle.py.

Member Function Documentation

◆ error()

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

Definition at line 2285 of file pycodestyle.py.

◆ get_file_results()

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

Definition at line 2294 of file pycodestyle.py.

◆ init_file()

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

Definition at line 2279 of file pycodestyle.py.

Member Data Documentation

◆ _deferred_print

roslint.pycodestyle.StandardReport._deferred_print
private

Definition at line 2281 of file pycodestyle.py.

◆ _fmt

roslint.pycodestyle.StandardReport._fmt
private

Definition at line 2273 of file pycodestyle.py.

◆ _repeat

roslint.pycodestyle.StandardReport._repeat
private

Definition at line 2275 of file pycodestyle.py.

◆ _show_pep8

roslint.pycodestyle.StandardReport._show_pep8
private

Definition at line 2277 of file pycodestyle.py.

◆ _show_source

roslint.pycodestyle.StandardReport._show_source
private

Definition at line 2276 of file pycodestyle.py.


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


roslint
Author(s): Mike Purvis, Jack O'Quin
autogenerated on Sun Mar 5 2023 03:27:29