On 1/19/07, goff <[EMAIL PROTECTED]> wrote:

Jeff Hinrichs - DM&T schrieb:
> A valid argument, the easier a thing is to do, the more likely it is
> to be done.  I agree that we should go with your python script idea.
>
> Perhaps, pylint_tg.py to reflect the turbogears bias?  If you would
> like to code it up we could add it (to the document and/or a link to a
> download) and then perhaps in the footer of the Usage section or a
> hint area, point out the --generate-rcfile method.  I like that method
> since I've wired the pylint --rc-file=.pylintrc %F in to my editor.
> pylint always runs and if I've set up the config file it uses it,
> otherwise it uses the defaults.  However, that is an editor issue and
> you are correct that we should focus on cmd line usage as the primary
> method since it is more universal.
At the moment I use the following script:
http://paste.turbogears.org/paste/865
I used the TG naming scheme and named it pylint_$projectname.py which
fits in with
start_$projectname.py

Just added it to a project.  Runs as expected, nice.  I did notice
that you are overriding indentation and using 2 spaces, where as PEP8
calls for "4 spaces per indentation level." So, for the version posted
to the wiki you might consider dropping the indent parameter.

> Agreed, recommending the disabling [of W0232] in the header is a defensible
> compromise that tends towards explicitness (a good thing).
Great, I will try to change the document to that.

> -Jeff
> ps.  Will you be attending PyCon in February?
Eh, I never thought about it. But by now it's much too late I think,
getting the days of from work and the permission from my
treasurer-in-command ... But maybe next year. Or Europython. I dont
know :-)

I know how that goes.  I haven't been in a few years but I didn't want
to miss the chance to meet up if you were.  Europython would be nice,
but I won't be there this year :(

-Jeff

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to