|
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) |
|
Collect the results of the checks.
Definition at line 2172 of file pycodestyle.py.
def roslint.pycodestyle.BaseReport.__init__ |
( |
|
self, |
|
|
|
options |
|
) |
| |
def roslint.pycodestyle.BaseReport.error |
( |
|
self, |
|
|
|
line_number, |
|
|
|
offset, |
|
|
|
text, |
|
|
|
check |
|
) |
| |
def roslint.pycodestyle.BaseReport.get_count |
( |
|
self, |
|
|
|
prefix = '' |
|
) |
| |
Return the total count of errors and warnings.
Definition at line 2231 of file pycodestyle.py.
def roslint.pycodestyle.BaseReport.get_file_results |
( |
|
self | ) |
|
Return the count of errors and warnings for this file.
Definition at line 2227 of file pycodestyle.py.
def roslint.pycodestyle.BaseReport.get_statistics |
( |
|
self, |
|
|
|
prefix = '' |
|
) |
| |
Get statistics for message codes that start with the prefix.
prefix='' matches all errors and warnings
prefix='E' matches all errors
prefix='W' matches all warnings
prefix='E4' matches all errors that have to do with imports
Definition at line 2236 of file pycodestyle.py.
def roslint.pycodestyle.BaseReport.increment_logical_line |
( |
|
self | ) |
|
def roslint.pycodestyle.BaseReport.init_file |
( |
|
self, |
|
|
|
filename, |
|
|
|
lines, |
|
|
|
expected, |
|
|
|
line_offset |
|
) |
| |
def roslint.pycodestyle.BaseReport.print_benchmark |
( |
|
self | ) |
|
def roslint.pycodestyle.BaseReport.print_statistics |
( |
|
self, |
|
|
|
prefix = '' |
|
) |
| |
Print overall statistics (number of errors and warnings).
Definition at line 2247 of file pycodestyle.py.
def roslint.pycodestyle.BaseReport.start |
( |
|
self | ) |
|
def roslint.pycodestyle.BaseReport.stop |
( |
|
self | ) |
|
roslint.pycodestyle.BaseReport._benchmark_keys |
|
private |
roslint.pycodestyle.BaseReport._ignore_code |
|
private |
roslint.pycodestyle.BaseReport._start_time |
|
private |
roslint.pycodestyle.BaseReport.counters |
roslint.pycodestyle.BaseReport.elapsed |
roslint.pycodestyle.BaseReport.expected |
roslint.pycodestyle.BaseReport.file_errors |
roslint.pycodestyle.BaseReport.filename |
roslint.pycodestyle.BaseReport.line_offset |
roslint.pycodestyle.BaseReport.lines |
roslint.pycodestyle.BaseReport.messages |
bool roslint.pycodestyle.BaseReport.print_filename = False |
|
static |
roslint.pycodestyle.BaseReport.total_errors |
The documentation for this class was generated from the following file: