Carl Chenet reported on python-projects : 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
^
Literal block ends without a blank line; unexpected unindent.Pylint seems to misunderstand that my equal sign is inside a string. | |
| priority | important |
|---|---|
| type | bug |
| appeared in | <not specified> |
| done in | 0.18.0 |
| load | 0.500 |
| load left | 0.000 |
| closed by | <not specified> |


#8337 easy_install pylint fails and doesn't install dependencies