Check leading whitespace in lines for py only