class documentation
A mix-in class containing all the reports and stats manipulation related methods for the main lint class.
Method | __init__ |
Undocumented |
Method | disable |
Disable the report of the given id. |
Method | enable |
Enable the report of the given id. |
Method | make |
Render registered reports. |
Method | register |
Register a report. |
Method | report |
Is the report associated to the given identifier enabled ? |
Method | report |
Return a list of reporters. |
Instance Variable | _reports |
Undocumented |
Instance Variable | _reports |
Undocumented |
def make_reports(self:
PyLinter
, stats: LinterStats
, old_stats: LinterStats|None
) -> Section
:
(source)
¶
Render registered reports.
def register_report(self, reportid:
str
, r_title: str
, r_cb: ReportsCallable
, checker: BaseChecker
):
(source)
¶
Register a report. :param reportid: The unique identifier for the report :param r_title: The report's title :param r_cb: The method to call to make the report :param checker: The checker defining the report