|
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.
◆ __init__()
def roslint.pycodestyle.BaseReport.__init__ |
( |
|
self, |
|
|
|
options |
|
) |
| |
◆ error()
def roslint.pycodestyle.BaseReport.error |
( |
|
self, |
|
|
|
line_number, |
|
|
|
offset, |
|
|
|
text, |
|
|
|
check |
|
) |
| |
◆ get_count()
def roslint.pycodestyle.BaseReport.get_count |
( |
|
self, |
|
|
|
prefix = '' |
|
) |
| |
Return the total count of errors and warnings.
Definition at line 2231 of file pycodestyle.py.
◆ get_file_results()
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.
◆ get_statistics()
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.
◆ increment_logical_line()
def roslint.pycodestyle.BaseReport.increment_logical_line |
( |
|
self | ) |
|
◆ init_file()
def roslint.pycodestyle.BaseReport.init_file |
( |
|
self, |
|
|
|
filename, |
|
|
|
lines, |
|
|
|
expected, |
|
|
|
line_offset |
|
) |
| |
◆ print_benchmark()
def roslint.pycodestyle.BaseReport.print_benchmark |
( |
|
self | ) |
|
◆ print_statistics()
def roslint.pycodestyle.BaseReport.print_statistics |
( |
|
self, |
|
|
|
prefix = '' |
|
) |
| |
Print overall statistics (number of errors and warnings).
Definition at line 2247 of file pycodestyle.py.
◆ start()
def roslint.pycodestyle.BaseReport.start |
( |
|
self | ) |
|
◆ stop()
def roslint.pycodestyle.BaseReport.stop |
( |
|
self | ) |
|
◆ _benchmark_keys
roslint.pycodestyle.BaseReport._benchmark_keys |
|
private |
◆ _ignore_code
roslint.pycodestyle.BaseReport._ignore_code |
|
private |
◆ _start_time
roslint.pycodestyle.BaseReport._start_time |
|
private |
◆ counters
roslint.pycodestyle.BaseReport.counters |
◆ elapsed
roslint.pycodestyle.BaseReport.elapsed |
◆ expected
roslint.pycodestyle.BaseReport.expected |
◆ file_errors
roslint.pycodestyle.BaseReport.file_errors |
◆ filename
roslint.pycodestyle.BaseReport.filename |
◆ line_offset
roslint.pycodestyle.BaseReport.line_offset |
◆ lines
roslint.pycodestyle.BaseReport.lines |
◆ messages
roslint.pycodestyle.BaseReport.messages |
◆ print_filename
bool roslint.pycodestyle.BaseReport.print_filename = False |
|
static |
◆ total_errors
roslint.pycodestyle.BaseReport.total_errors |
The documentation for this class was generated from the following file: