[Python-projects] pylint and python 3.x?

2010-06-11 Thread Dan Stromberg
What's happening with pylint and python 3.x? Is the GSoC thing happening? I have some new code I want to write, and I'd like to do it in Python 3.x, but not if it means having to write it without pylint. -- Dan Stromberg ___ Python-Projects mailing li

Re: [Python-projects] Pylint - disabled messages in rc file are ignored

2010-06-11 Thread Sylvain Thénault
Hi, On 25 mai 15:44, Jean-Michel Pichavant wrote: > >Anyone having this issue with pylint 0.21 ? > > > >Looks like the interface has changed. > >In the pylintrc file, I used both > >disable=E1103 > >and > >disable-msg=E1103 > > > >without any success. (disable-msg was working in 0.20) you should

[Python-projects] #33180: 0.50.2 - test suite fails

2010-06-11 Thread Sandro Tosi
Hello, I didn't get how to reopen the above ticket, so I'm going to write here. the commit 1150:d347bb3985e4 fixes the "AttributeError: 'module' object has no attribute 'short_desc'" but not the "ImportError: No module named test " error, so the bug is not completely done. Regards, -- Sandro Tos

Re: [Python-projects] pyreverse doesn't get relations across multiple modules?

2010-06-11 Thread Emile Anclin
On Wednesday 02 June 2010 18:30:56 Giovanni Gherdovich wrote: > Hello Emile, hello, > Thank you very much for you answer to this old thread > (about 3 months ago) > http://lists.logilab.org/pipermail/python-projects/2010-March/002272.ht >ml > > about pyreverse failing in getting associated class

Re: [Python-projects] pyreverse doesn't get relations across multiple modules?

2010-06-11 Thread Giovanni Gherdovich
Hello Emile, Thank you very much for you answer to this old thread (about 3 months ago) http://lists.logilab.org/pipermail/python-projects/2010-March/002272.html about pyreverse failing in getting associated class relations right. I missed your mail since I don't check often the list. I'd like

Re: [Python-projects] Pylint - disabled messages in rc file are ignored

2010-06-11 Thread Jean-Michel Pichavant
Jean-Michel Pichavant wrote: Anyone having this issue with pylint 0.21 ? Looks like the interface has changed. In the pylintrc file, I used both disable=E1103 and disable-msg=E1103 without any success. (disable-msg was working in 0.20) I notice the inline options have changed as well, using -e

Re: [Python-projects] issue with pylint 0.20 and common 0.50

2010-06-11 Thread Sam Tygier
i also had the error {{{ Traceback (most recent call last): File "/usr/bin/pylint", line 5, in pkg_resources.run_script('pylint==0.20.0', 'pylint') File "/usr/lib/python2.6/site-packages/setuptools-0.6c11- py2.6.egg/pkg_resources.py", line 489, in run_script self.require(requires)[0].r

[Python-projects] Pylint - disabled messages in rc file are ignored

2010-06-11 Thread Jean-Michel Pichavant
Anyone having this issue with pylint 0.21 ? Looks like the interface has changed. In the pylintrc file, I used both disable=E1103 and disable-msg=E1103 without any success. (disable-msg was working in 0.20) I notice the inline options have changed as well, using -e or -d to enable disable msg.

[Python-projects] TypeError: can't multiply sequence by non-int of type 'NoneType'

2010-06-11 Thread chukharev
Hi, I applied pylint to an old library written in our lab. pylint finds a lot of errors (quite expected) and then dies with the following traceback. Traceback (most recent call last): File "/usr/local/bin/pylint", line 5, in pkg_resources.run_script('pylint==0.20.0', 'pylint') File "bu

[Python-projects] [ANN] pylint 0.21 / astng 0.20.1

2010-06-11 Thread Sylvain Thénault
Hi there! I'm pleased to announce a new pylint / astng release. It provides several bug fixes, as well as command line enhancements: all options for messages / reports control have been merged into two generic --enable / --disable option. Also, pylint --help is much more concise, and longer versi

Re: [Python-projects] New and improved GUI!

2010-06-11 Thread Sylvain Thénault
Hi Scott, I've finally found some time to review your patch and include it in pylint 0.21 which will be released later today. Many thanks and congrats to all the Tahiti team for all their contributions to the pylint project! FYI, some remarks on the gui below. On 01 avril 13:30, Scott Pilkey wro

Re: [Python-projects] Calling Pylint from within Python

2010-06-11 Thread Pierre-Yves David
On Thu, May 06, 2010 at 07:47:28PM +0200, Tayssir John Gabbour wrote: > Hi! > > Is there a convenient way to call Pylint from within Python, rather > than executing it and writing a parser for its text output? In > Mercurial, I took a look at the tests and examples, but it didn't seem > obvious to

Re: [Python-projects] Calling Pylint from within Python

2010-06-11 Thread Emile Anclin
On Thursday 06 May 2010 19:47:28 Tayssir John Gabbour wrote: > Hi! > > Is there a convenient way to call Pylint from within Python, I'm not sure if I understand you right: do you want to import the pylint modules? $ cat bin/pylint #!/usr/bin/env python import sys from pylint import lint lint.Run

Re: [Python-projects] PyLint and optional imports

2010-06-11 Thread Arve Knudsen
On Fri, May 7, 2010 at 7:53 AM, Sylvain Thénault < sylvain.thena...@logilab.fr> wrote: > On 06 mai 10:24, Arve Knudsen wrote: > > Are there any plans to make PyLint understand the "except ImportError" > > idiom? It's a pretty common pattern after all. > > http://www.logilab.org/ticket/9386 I wis

Re: [Python-projects] issue with pylint 0.20 and common 0.50

2010-06-11 Thread Sylvain Thénault
On 06 mai 16:59, Pedro wrote: > Hello, Hi, > However, now I get this: > > {{{ > py2.6.egg/pylint/utils.py", line 491, in add_checker > for cls in nodes.ALL_NODE_CLASSES: > AttributeError: 'module' object has no attribute 'ALL_NODE_CLASSES' > }}} > > Maybe this is a bug? yep, this is an as

Re: [Python-projects] PyLint and optional imports

2010-06-11 Thread Sylvain Thénault
On 06 mai 10:24, Arve Knudsen wrote: > Are there any plans to make PyLint understand the "except ImportError" > idiom? It's a pretty common pattern after all. http://www.logilab.org/ticket/9386 -- Sylvain Thénault LOGILAB, Paris (France) Formations Python, Debian, Mé