예제 #1
0
 def _create_defaults(self):
     """Return a DefaultCommandOptionValues instance for testing."""
     return DefaultCommandOptionValues(min_confidence=3,
                                       output_format='vs7')
예제 #2
0
 def _create_defaults(self):
     """Return a DefaultCommandOptionValues instance for testing."""
     base_filter_rules = ["-", "+whitespace"]
     return DefaultCommandOptionValues(min_confidence=3,
                                       output_format="vs7")
예제 #3
0
def _check_webkit_style_defaults():
    """Return the default command-line options for check-webkit-style."""
    return DefaultCommandOptionValues(min_confidence=_DEFAULT_MIN_CONFIDENCE,
                                      output_format=_DEFAULT_OUTPUT_FORMAT)