You're absolutely right ... I don't get these errors at all and I've clipped
the wrong part from my pylintrc ... instead, you can set dummy-variables
dummy-variables-rgx=_|dummy|i|j|k
That lets i, j, k be used as dummy/unused variables.
des.
On 19/07/2010, at 11:13 , Maarten ter Huurne wrote:
> On Sunday 18 July 2010, Derek Harland wrote:
>> * Another approach is to modify your pylintrc to indicate that certain
>> variable names should always be considered "good" * For exampe, if you
>> often use "i", "j", or "k" as a loop index then add
>>
>> good-names="i,j,k"
>
> Marking a name as "good" gets around warnings considering the name (being
> too short, for example). As far as I know, it will not suppress warnings
> about a variable being ununsed. The solution mentioned by Skip will.
>
> Bye,
> Maarten
> _______________________________________________
> Python-Projects mailing list
> [email protected]
> http://lists.logilab.org/mailman/listinfo/python-projects
_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects