Skip to content
  • Dylan Baker's avatar
    python: Convert tabs to spaces · b9c4f967
    Dylan Baker authored and Emma Anholt's avatar Emma Anholt committed
    
    
    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: default 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: default avatarEric Anholt <eric@anholt.net>
    b9c4f967