pylint: don't warn about tabs

John Nagle nagle at animats.com
Sat Mar 10 12:47:39 EST 2007


Gabriel Genellina wrote:
> En Thu, 08 Mar 2007 14:33:38 -0300, Bjoern Schliessmann  
> <usenet-mail-0306.20.chr0n0ss at spamgourmet.com> escribió:
> 
>> Alan Isaac wrote:
>>
>>> As a tab user, I want the tabs warning turned off.
>>
>>
>> Advice: Don't. IIRC it's planned in future Python versions that TABs
>> aren't supported for indentation.
> 
> 
> AFAIK, using tabs xor spaces will be ok, but not MIXING them.

     That's what should be enforced.  For any module, whitespace
at the beginnings of lines should be all spaces or all tabs.
Both are unambiguous and can be mechanically converted to each
other. But if spaces and tabs are mixed, there's ambiguity.

					John Nagle



More information about the Python-list mailing list