[Python-projects] Weird pylint behaviors with cut strings
chaica
chaica at ohmytux.com
Thu Mar 5 22:35:20 CET 2009
Hi,
I've got some weird behaviors with pylint and cut strings. I'm
generating html so I'm using this kind of lines :
self.titreprojet = '<tr><td colspan="10">\
<img src="images/drapeau_vert.png" alt="Drapeau vert" />\
<strong>%s</strong></td></tr>' % projet
and pylint tells me :
C:110:EditionPage.genere_titre_projet: Operator not preceded by a space
self.titreprojet = '<tr><td colspan="10">\
<strong>%s</strong></td></tr>' % projet
^
C:115:EditionPage.genere_titre_projet: Operator not preceded by a space
self.titreprojet = '<tr><td colspan="10">\
<strong>%s</strong></td></tr>' % projet
^
C:119:EditionPage.genere_titre_projet: Operator not preceded by a space
self.titreprojet = '<tr><td colspan="10">\
<strong>%s</strong></td></tr>' % projet
^
Pylint seems to misunderstand that my equal sign is inside a string.
Regards,
Carl Chenet
www.ohmytux.com/belier
More information about the Python-Projects
mailing list