Public Member Functions | Public Attributes | List of all members
roslint.pycodestyle.StyleGuide Class Reference
Inheritance diagram for roslint.pycodestyle.StyleGuide:
Inheritance graph

Public Member Functions

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)

Public Attributes


Detailed Description

Initialize a PEP-8 instance with few options.

Definition at line 2336 of file

Constructor & Destructor Documentation

def roslint.pycodestyle.StyleGuide.__init__ (   self,

Definition at line 2339 of file

Member Function Documentation

def roslint.pycodestyle.StyleGuide.check_files (   self,
  paths = None 
Run all checks on the paths.

Definition at line 2382 of file

def roslint.pycodestyle.StyleGuide.excluded (   self,
  parent = None 
Check if the file should be excluded.

Check if 'options.exclude' contains a pattern matching filename.

Definition at line 2430 of file

def roslint.pycodestyle.StyleGuide.get_checks (   self,
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

def roslint.pycodestyle.StyleGuide.ignore_code (   self,
Check if the error code should be ignored.

If '' 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

def roslint.pycodestyle.StyleGuide.init_report (   self,
  reporter = None 
Initialize the report instance.

Definition at line 2377 of file

def roslint.pycodestyle.StyleGuide.input_dir (   self,
Check all files in this directory and all subdirectories.

Definition at line 2408 of file

def roslint.pycodestyle.StyleGuide.input_file (   self,
  lines = None,
  expected = None,
  line_offset = 0 
Run all checks on a Python source file.

Definition at line 2400 of file

Member Data Documentation


Definition at line 2341 of file


Definition at line 2357 of file


Definition at line 2349 of file


Definition at line 2356 of file

The documentation for this class was generated from the following file:

Author(s): Mike Purvis, Jack O'Quin
autogenerated on Wed Mar 18 2020 03:20:56