[Python-projects] Turning off R0911, R0912, R0902, R0904.

Sylvain Thénault sylvain.thenault at logilab.fr
Sun May 7 00:13:23 CEST 2006


On Friday 28 April à 11:02, Meding, Olaf wrote:
> 
> Note, the first disable-msg (see below) works.  However, the other 2 do not.  This is true for R0911, R0912, R0902, R0904.
> 
> class Test1:  # pylint: disable-msg=R0902  
> 	# pylint: disable-msg=R0902
> 	def __init__(self):
> 		# pylint: disable-msg=R0902
> 		self.n1 = 1
> 		self.n2 = 2
> 		self.n3 = 3
> 		self.n4 = 4
> 		self.n5 = 5
> 		self.n6 = 6
> 		self.n7 = 7
> 		self.n8 = 8

that was due to a bug with disabling of messages related to a whole
class. It's fixed in the repository now.

-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian:  http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
Python et calcul scientifique:           http://www.logilab.fr/science



More information about the Python-Projects mailing list