|
def | __init__ (self, args, kwargs) |
|
def | check_files (self, paths=None) |
|
def | excluded (self, filename, parent=None) |
|
def | get_checks (self, argument_name) |
|
def | ignore_code (self, code) |
|
def | init_report (self, reporter=None) |
|
def | input_dir (self, dirname) |
|
def | input_file (self, filename, lines=None, expected=None, line_offset=0) |
|
Initialize a PEP-8 instance with few options.
Definition at line 2336 of file pycodestyle.py.
◆ __init__()
def roslint.pycodestyle.StyleGuide.__init__ |
( |
|
self, |
|
|
|
args, |
|
|
|
kwargs |
|
) |
| |
◆ check_files()
def roslint.pycodestyle.StyleGuide.check_files |
( |
|
self, |
|
|
|
paths = None |
|
) |
| |
◆ excluded()
def roslint.pycodestyle.StyleGuide.excluded |
( |
|
self, |
|
|
|
filename, |
|
|
|
parent = None |
|
) |
| |
Check if the file should be excluded.
Check if 'options.exclude' contains a pattern matching filename.
Definition at line 2430 of file pycodestyle.py.
◆ get_checks()
def roslint.pycodestyle.StyleGuide.get_checks |
( |
|
self, |
|
|
|
argument_name |
|
) |
| |
Get all the checks for this category.
Find all globally visible functions where the first argument
name starts with argument_name and which contain selected tests.
Definition at line 2458 of file pycodestyle.py.
◆ ignore_code()
def roslint.pycodestyle.StyleGuide.ignore_code |
( |
|
self, |
|
|
|
code |
|
) |
| |
Check if the error code should be ignored.
If 'options.select' contains a prefix of the error code,
return False. Else, if 'options.ignore' contains a prefix of
the error code, return True.
Definition at line 2445 of file pycodestyle.py.
◆ init_report()
def roslint.pycodestyle.StyleGuide.init_report |
( |
|
self, |
|
|
|
reporter = None |
|
) |
| |
◆ input_dir()
def roslint.pycodestyle.StyleGuide.input_dir |
( |
|
self, |
|
|
|
dirname |
|
) |
| |
Check all files in this directory and all subdirectories.
Definition at line 2408 of file pycodestyle.py.
◆ input_file()
def roslint.pycodestyle.StyleGuide.input_file |
( |
|
self, |
|
|
|
filename, |
|
|
|
lines = None , |
|
|
|
expected = None , |
|
|
|
line_offset = 0 |
|
) |
| |
◆ checker_class
roslint.pycodestyle.StyleGuide.checker_class |
◆ options
roslint.pycodestyle.StyleGuide.options |
◆ paths
roslint.pycodestyle.StyleGuide.paths |
◆ runner
roslint.pycodestyle.StyleGuide.runner |
The documentation for this class was generated from the following file: