Searched refs:_BoolConverter (Results 1 – 2 of 2) sorted by relevance
/external/yapf/yapf/yapflib/ |
D | style.py | 401 def _BoolConverter(s): function 414 ALIGN_CLOSING_BRACKET_WITH_VISUAL_INDENT=_BoolConverter, 415 ALLOW_MULTILINE_LAMBDAS=_BoolConverter, 416 ALLOW_MULTILINE_DICTIONARY_KEYS=_BoolConverter, 417 ALLOW_SPLIT_BEFORE_DICT_VALUE=_BoolConverter, 418 BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF=_BoolConverter, 419 BLANK_LINE_BEFORE_CLASS_DOCSTRING=_BoolConverter, 420 BLANK_LINE_BEFORE_MODULE_DOCSTRING=_BoolConverter, 422 COALESCE_BRACKETS=_BoolConverter, 426 DEDENT_CLOSING_BRACKETS=_BoolConverter, [all …]
|
/external/yapf/yapftests/ |
D | style_test.py | 51 self.assertEqual(style._BoolConverter('true'), True) 52 self.assertEqual(style._BoolConverter('1'), True) 53 self.assertEqual(style._BoolConverter('false'), False) 54 self.assertEqual(style._BoolConverter('0'), False)
|