from
Nicolas Chauvat <nico at logilab dot fr>
to
Nicolas Chauvat <nico at logilab dot fr>
subject
Re: bug pylint ?
date
On Mon, Mar 28, 2005 at 12:35:42AM +0200, Nicolas Chauvat wrote:2005/03/28 00:41
> je suis dans oobrother sur le module documentor
>
> j'ajoute à un module dialog.py la ligne "# pylint: disable-all" et on dirait
> qu'il désactive les vérifications pour ce fichier et pour tous les autres
> par la suite. A qui la faute, pylint ou oobrother ?
En fait, ça doit vraiment êtr eun bug de pylint :
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/oobrother/plugins/python.py", line 340, in cb_lint
self.pylint_window.check(thefile)
File "/usr/lib/python2.3/site-packages/oobrother/plugins/python.py", line 177, in check
self.pylint.check(thefile.abspath)
File "/usr/lib/python2.3/site-packages/logilab/pylint/lint.py", line 394, in check
self.check_file(filepath, modname, checkers)
File "/usr/lib/python2.3/site-packages/logilab/pylint/lint.py", line 419, in check_file
self._check_file(filepath, modname, checkers)
File "/usr/lib/python2.3/site-packages/logilab/pylint/lint.py", line 433, in _check_file
self.check_astng_module(astng, checkers)
File "/usr/lib/python2.3/site-packages/logilab/pylint/lint.py", line 478, in check_astng_module
checker.process_module(stream)
File "/usr/lib/python2.3/site-packages/logilab/pylint/checkers/__init__.py", line 117, in process_module
self.process_tokens(tokenize.generate_tokens(stream.readline))
File "/usr/lib/python2.3/site-packages/logilab/pylint/lint.py", line 333, in process_tokens
opt, value = match.group(1).split('=', 1)
ValueError: unpack list of wrong size
--
Nicolas Chauvat
logilab.fr - services en informatique avancée et gestion de connaissances
