webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
webkitpy.style.optparser.CommandOptionValues Class Reference
Inheritance diagram for webkitpy.style.optparser.CommandOptionValues:

Public Member Functions

def __init__ (self, filter_rules=None, git_commit=None, diff_files=None, is_verbose=False, min_confidence=1, output_format="emacs", commit_queue=False, git_index=False)
 
def __eq__ (self, other)
 
def __ne__ (self, other)
 

Public Attributes

 filter_rules
 
 git_commit
 
 diff_files
 
 is_verbose
 
 min_confidence
 
 output_format
 
 commit_queue
 
 git_index
 

Detailed Description

Stores the option values passed by the user via the command line.

Attributes:
  is_verbose: A boolean value of whether verbose logging is enabled.

  filter_rules: The list of filter rules provided by the user.
                These rules are appended to the base rules and
                path-specific rules and so take precedence over
                the base filter rules, etc.

  git_commit: A string representing the git commit to check.
              The default is None.

  min_confidence: An integer between 1 and 5 inclusive that is the
                  minimum confidence level of style errors to report.
                  The default is 1, which reports all errors.

  output_format: A string that is the output format.  The supported
                 output formats are "emacs" which emacs can parse
                 and "vs7" which Microsoft Visual Studio 7 can parse.

Constructor & Destructor Documentation

◆ __init__()

def webkitpy.style.optparser.CommandOptionValues.__init__ (   self,
  filter_rules = None,
  git_commit = None,
  diff_files = None,
  is_verbose = False,
  min_confidence = 1,
  output_format = "emacs",
  commit_queue = False,
  git_index = False 
)

Member Function Documentation

◆ __eq__()

def webkitpy.style.optparser.CommandOptionValues.__eq__ (   self,
  other 
)
Return whether this instance is equal to another.

◆ __ne__()

def webkitpy.style.optparser.CommandOptionValues.__ne__ (   self,
  other 
)

Member Data Documentation

◆ commit_queue

webkitpy.style.optparser.CommandOptionValues.commit_queue

◆ diff_files

webkitpy.style.optparser.CommandOptionValues.diff_files

◆ filter_rules

webkitpy.style.optparser.CommandOptionValues.filter_rules

◆ git_commit

webkitpy.style.optparser.CommandOptionValues.git_commit

◆ git_index

webkitpy.style.optparser.CommandOptionValues.git_index

◆ is_verbose

webkitpy.style.optparser.CommandOptionValues.is_verbose

◆ min_confidence

webkitpy.style.optparser.CommandOptionValues.min_confidence

◆ output_format

webkitpy.style.optparser.CommandOptionValues.output_format

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