pylint: don't warn about tabs
Colin J. Williams
cjw at sympatico.ca
Fri Mar 9 08:13:35 EST 2007
Ben Finney wrote:
> Bjoern Schliessmann <usenet-mail-0306.20.chr0n0ss at spamgourmet.com> writes:
>
>> Alan Isaac wrote:
>>> As a tab user, I want the tabs warning turned off.
>> Advice: Don't.
>
> Agreed. Sticking to spaces for indentation avoids the ambiguity of
> interpretation that ASCII TAB characters are subject to. In addition,
> PEP 8 (which many people consider a strong suggestion for a style
> guide for all Python code) recommends four space characters for
> indentation.
For those who prefer say 3 or 8, pylint permits this to be specified in
the configuration file.
Colin W.
>
>> IIRC it's planned in future Python versions that TABs aren't
>> supported for indentation.
>
> I've not seen such plans, can you support that?
>
> If you're thinking of this post from Guido, please note the date it
> was made:
>
> <URL:http://www.artima.com/weblogs/viewpost.jsp?thread=101968>
>
More information about the Python-list
mailing list