Re: [Tutor] Doubts about Pylint

2008-04-10 Thread Alan Gauld
"Dick Moores" <[EMAIL PROTECTED]> wrote >>A = 8 >>az = A >> >>It may well be happy since A is a constant and the variable >>is being assigned the constant rather than the literal. > > Thanks, Alan, but I tried your > > A = 8 > az = A > > and got the same complaint about az. OK, In that case it

Re: [Tutor] Doubts about Pylint

2008-04-09 Thread Dick Moores
At 03:15 PM 4/9/2008, Alan Gauld wrote: >"Dick Moores" <[EMAIL PROTECTED]> wrote > > > Since when is 'az' a bad variable name? And 'AZ' is OK? > >When it is a constant. >pyLint sees that you are assigning a numeric literal and >so thinks that this may be a definition of a constant value. > >If you

Re: [Tutor] Doubts about Pylint

2008-04-09 Thread Alan Gauld
"Dick Moores" <[EMAIL PROTECTED]> wrote > Since when is 'az' a bad variable name? And 'AZ' is OK? When it is a constant. pyLint sees that you are assigning a numeroc literal and so thinks that this may be a definition of a constant value. If you disd someting like A = 8 az = A It may well be

Re: [Tutor] Doubts about Pylint

2008-04-09 Thread Dick Moores
At 10:14 AM 4/9/2008, Jerry Hill wrote: >Other than the fact that it's a long list, did *you* have any >comments? You present this list like it's a bad thing, but it seems >to me that pylint is doing exactly what it should. Do you think that >there's something wrong with pylint? Are you just sur

Re: [Tutor] Doubts about Pylint

2008-04-09 Thread Dick Moores
At 09:59 AM 4/9/2008, Alex Ezell wrote: >On Wed, Apr 9, 2008 at 11:43 AM, Dick Moores <[EMAIL PROTECTED]> wrote: > > Comments? > >Since we started using code profilers and checkers like pyLint etc., >we've had a motto: > >"This is a guide. It is not the gospel." > >Take from pylint what you think

Re: [Tutor] Doubts about Pylint

2008-04-09 Thread Jerry Hill
On Wed, Apr 9, 2008 at 12:43 PM, Dick Moores <[EMAIL PROTECTED]> wrote: > I'd never used Pylint until yesterday, when I discovered that Ulipad > had a Pylint plugin that enabled me to run Pylint on scripts within > Ulipad. But I'm wondering about some of the results. I noticed that > it was comp

Re: [Tutor] Doubts about Pylint

2008-04-09 Thread Eric Walstad
On Wed, Apr 9, 2008 at 9:43 AM, Dick Moores <[EMAIL PROTECTED]> wrote: > I'd never used Pylint until yesterday ... > Since when is 'az' a bad variable name? And 'AZ' is OK? ... > Comments? I understand that Pylint settings and output are *very* customizable. I seem to remember talk about a PEP['S

Re: [Tutor] Doubts about Pylint

2008-04-09 Thread Alex Ezell
On Wed, Apr 9, 2008 at 11:43 AM, Dick Moores <[EMAIL PROTECTED]> wrote: > Comments? Since we started using code profilers and checkers like pyLint etc., we've had a motto: "This is a guide. It is not the gospel." Take from pylint what you think helps and ignore the rest. It's just a tool and yo

[Tutor] Doubts about Pylint

2008-04-09 Thread Dick Moores
I'd never used Pylint until yesterday, when I discovered that Ulipad had a Pylint plugin that enabled me to run Pylint on scripts within Ulipad. But I'm wondering about some of the results. I noticed that it was complaining that my variable names violated convention. Here's an image of running