• Dylan Baker's avatar
    python: Convert tabs to spaces · b9c4f967
    Dylan Baker authored
    PEP 8 specifies that all indents should be either 4 spaces or an
    equivalent tab indent, but without mixing tabs and spaces, with a
    preference for spaces over tabs because they are absolute. Tabs and
    spaces should not be mixed because they lead to expected indent level
    errors.
    
    Currently piglit uses a mixture of spaces and tabs, this patch uses the
    python tools reindent.py to convert the tabs to spaces.
    Signed-off-by: Dylan Baker's avatarDylan Baker <baker.dylan.c@gmail.com>
    v2: Rebase against master, fix apparent unintentional unindentation of
        help text in piglit-summary.py (changes by anholt)
    Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
    b9c4f967
generate-glean-tests.py 2.38 KB