Searched refs:align_style (Results 1 – 2 of 2) sorted by relevance
/external/yapf/yapftests/ |
D | format_token_test.py | 27 align_style = 'SPACE' 29 pad = format_token._TabbedContinuationAlignPadding(0, align_style, 2, 4) 32 pad = format_token._TabbedContinuationAlignPadding(2, align_style, 2, 4) 35 pad = format_token._TabbedContinuationAlignPadding(5, align_style, 2, 4) 39 align_style = 'FIXED' 41 pad = format_token._TabbedContinuationAlignPadding(0, align_style, 4, 8) 44 pad = format_token._TabbedContinuationAlignPadding(2, align_style, 4, 8) 47 pad = format_token._TabbedContinuationAlignPadding(5, align_style, 4, 8) 51 align_style = 'VALIGN-RIGHT' 53 pad = format_token._TabbedContinuationAlignPadding(0, align_style, 4, 8) [all …]
|
/external/yapf/yapf/yapflib/ |
D | format_token.py | 60 def _TabbedContinuationAlignPadding(spaces, align_style, tab_width, argument 73 if align_style == 'FIXED': 77 elif align_style == 'VALIGN-RIGHT':
|