Home
last modified time | relevance | path

Searched refs:StyleConfigError (Results 1 – 2 of 2) sorted by relevance

/external/yapf/yapftests/
Dstyle_test.py198 with self.assertRaisesRegexp(style.StyleConfigError,
208 with self.assertRaisesRegexp(style.StyleConfigError,
219 with self.assertRaisesRegexp(style.StyleConfigError,
241 self.assertRaisesRegexp(style.StyleConfigError, 'Unknown style option',
244 self.assertRaisesRegexp(style.StyleConfigError, 'not a valid',
280 self.assertRaisesRegexp(style.StyleConfigError, 'Unknown style option',
283 self.assertRaisesRegexp(style.StyleConfigError, 'not a valid',
285 self.assertRaisesRegexp(style.StyleConfigError, 'Invalid style dict',
/external/yapf/yapf/yapflib/
Dstyle.py24 class StyleConfigError(errors.YapfError): class
518 raise StyleConfigError(
532 raise StyleConfigError(
539 raise StyleConfigError(
543 raise StyleConfigError(
547 raise StyleConfigError(
583 raise StyleConfigError('Unknown style option "{0}"'.format(option))
587 raise StyleConfigError("'{}' is not a valid setting for {}.".format(