Public Member Functions | |
def | __init__ (self, filename=None, lines=None, options=None, report=None, kwargs) |
def | build_tokens_line (self) |
def | check_all (self, expected=None, line_offset=0) |
def | check_ast (self) |
def | check_logical (self) |
def | check_physical (self, line) |
def | generate_tokens (self) |
def | init_checker_state (self, name, argument_names) |
def | maybe_check_physical (self, token) |
def | readline (self) |
def | report_invalid_syntax (self) |
def | run_check (self, check, argument_names) |
Private Attributes | |
_ast_checks | |
_checker_states | |
_io_error | |
_logical_checks | |
_physical_checks | |
Load a Python source file, tokenize it, check coding style.
def roslint.pep8.Checker.__init__ | ( | self, | |
filename = None , |
|||
lines = None , |
|||
options = None , |
|||
report = None , |
|||
kwargs | |||
) |
def roslint.pep8.Checker.build_tokens_line | ( | self | ) |
def roslint.pep8.Checker.check_all | ( | self, | |
expected = None , |
|||
line_offset = 0 |
|||
) |
def roslint.pep8.Checker.check_ast | ( | self | ) |
def roslint.pep8.Checker.check_logical | ( | self | ) |
def roslint.pep8.Checker.check_physical | ( | self, | |
line | |||
) |
def roslint.pep8.Checker.generate_tokens | ( | self | ) |
def roslint.pep8.Checker.init_checker_state | ( | self, | |
name, | |||
argument_names | |||
) |
def roslint.pep8.Checker.maybe_check_physical | ( | self, | |
token | |||
) |
def roslint.pep8.Checker.readline | ( | self | ) |
def roslint.pep8.Checker.report_invalid_syntax | ( | self | ) |
def roslint.pep8.Checker.run_check | ( | self, | |
check, | |||
argument_names | |||
) |