module documentation

Undocumented

Class RawMetricsChecker Checker that provides raw metrics instead of checking anything.
Function get_type Return the line type : docstring, comment, code, empty.
Function register Undocumented
Function report_raw_stats Calculate percentage of code / doc / comment / empty.
Constant JUNK Undocumented
def get_type(tokens: list[tokenize.TokenInfo], start_index: int) -> tuple[int, int, Literal['code', 'docstring', 'comment', 'empty']]: (source)

Return the line type : docstring, comment, code, empty.

def register(linter: PyLinter): (source)

Undocumented

def report_raw_stats(sect: Section, stats: LinterStats, old_stats: LinterStats|None): (source)

Calculate percentage of code / doc / comment / empty.

Undocumented

Value
(tokenize.NL, tokenize.INDENT, tokenize.NEWLINE, tokenize.ENDMARKER)