third_party/blink/tools/blinkpy/style/checker_unittest.py
def _style_checker_configuration(self, output_format="vs7"):
        """Return a StyleProcessorConfiguration instance for testing."""
        base_rules = ["-whitespace", "+whitespace/tab"]
        filter_configuration = FilterConfiguration(base_rules=base_rules)

        return StyleProcessorConfiguration(
            filter_configuration=filter_configuration,
            max_reports_per_category={"whitespace/newline": 1},
            min_confidence=3,
            output_format=output_format,
            stderr_write=self._mock_stderr_write)
Return a StyleProcessorConfiguration instance for testing.
Return a StyleProcessorConfiguration instance for testing.
Return a StyleProcessorConfiguration instance for testing .
def _style_checker_configuration(self, output_format="vs7"):
        base_rules = ["-whitespace", "+whitespace/tab"]
        filter_configuration = FilterConfiguration(base_rules=base_rules)
        return StyleProcessorConfiguration(
            filter_configuration=filter_configuration,
            max_reports_per_category={"whitespace/newline": 1},
            min_confidence=3,
            output_format=output_format,
            stderr_write=self._mock_stderr_write)
def _style_checker_configuration ( self , output_format = "vs7" ) : base_rules = [ "-whitespace" , "+whitespace/tab" ] filter_configuration = FilterConfiguration ( base_rules = base_rules ) return StyleProcessorConfiguration ( filter_configuration = filter_configuration , max_reports_per_category = { "whitespace/newline" : 1 } , min_confidence = 3 , output_format = output_format , stderr_write = self . _mock_stderr_write )
Return a StyleProcessorConfiguration instance for testing.
Return a StyleProcessorConfiguration instance for testing .
"""Return a StyleProcessorConfiguration instance for testing."""
self
output_format