class documentation
class BaseReport(object):
Known subclasses: niryo_libraries.roslint.pycodestyle.FileReport, niryo_libraries.roslint.pycodestyle.StandardReport
Constructor: BaseReport(options)
Collect the results of the checks.
| Method | __init__ |
Undocumented |
| Method | error |
Report an error, according to options. |
| Method | get |
Return the total count of errors and warnings. |
| Method | get |
Return the count of errors and warnings for this file. |
| Method | get |
Get statistics for message codes that start with the prefix. |
| Method | increment |
Signal a new logical line. |
| Method | init |
Signal a new file. |
| Method | print |
Print benchmark numbers. |
| Method | print |
Print overall statistics (number of errors and warnings). |
| Method | start |
Start the timer. |
| Method | stop |
Stop the timer. |
| Class Variable | print |
Undocumented |
| Instance Variable | counters |
Undocumented |
| Instance Variable | elapsed |
Undocumented |
| Instance Variable | expected |
Undocumented |
| Instance Variable | file |
Undocumented |
| Instance Variable | filename |
Undocumented |
| Instance Variable | line |
Undocumented |
| Instance Variable | lines |
Undocumented |
| Instance Variable | messages |
Undocumented |
| Instance Variable | total |
Undocumented |
| Instance Variable | _benchmark |
Undocumented |
| Instance Variable | _ignore |
Undocumented |
| Instance Variable | _start |
Undocumented |
overridden in
niryo_libraries.roslint.pycodestyle.StandardReportReport an error, according to options.
overridden in
niryo_libraries.roslint.pycodestyle.StandardReportReturn the count of errors and warnings for this file.
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