View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005220 | Taler | deployment and operations | public | 2017-12-13 18:45 | 2018-04-15 20:34 |
Reporter | Marcello Stanisci | Assigned To | Marcello Stanisci | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | git (master) | ||||
Target Version | 0.5 | Fixed in Version | 0.5 | ||
Summary | 0005220: pylint checks against python2 and other issues | ||||
Description | pylint complains about useless parentheses in 'print' statement; is is checking against python2? Then, it does not find modules when 'import'(s) are processed. See, https://buildbot.taler.net/#/builders/7/builds/134/steps/2/logs/stdio | ||||
Tags | No tags attached. | ||||
|
Installed pylint for the Python3.5 language, but: even the pylint version which works on my laptop, 1.7.2, does not seem to skip on Django imperfections, as it should instead do when '--load-plugins pylint_django' is used. It keeps giving a bunch of the following errors/warnings: W: 96, 0: Unused variable '__class__' (unused-variable) W: 96, 0: Unused variable '__class__' (unused-variable) W: 96, 0: Unused variable '__class__' (unused-variable) W:158, 0: Unused variable '__class__' (unused-variable) W:158, 0: Unused variable '__class__' (unused-variable) W:158, 0: Unused variable '__class__' (unused-variable) W:158, 0: Unused variable '__class__' (unused-variable) W:173, 0: Unused variable '__class__' (unused-variable) W:173, 0: Unused variable '__class__' (unused-variable) W:173, 0: Unused variable '__class__' (unused-variable) W:184, 0: Unused variable '__class__' (unused-variable) W:184, 0: Unused variable '__class__' (unused-variable) W:184, 0: Unused variable '__class__' (unused-variable) W:184, 0: Unused variable '__class__' (unused-variable) W:184, 0: Unused variable '__class__' (unused-variable) W:184, 0: Unused variable '__class__' (unused-variable) W:184, 0: Unused variable '__class__' (unused-variable) W:184, 0: Unused variable '__class__' (unused-variable) ... ... W:116, 0: Unused variable '__class__' (unused-variable) R:126, 4: Method could be a function (no-self-use) W:116, 0: Unused variable '__class__' (unused-variable) C:144, 4: Invalid method name "setUp" (invalid-name) W:141, 0: Unused variable '__class__' (unused-variable) R:144, 4: Method could be a function (no-self-use) C:149, 4: Invalid method name "tearDown" (invalid-name) W:141, 0: Unused variable '__class__' (unused-variable) R:149, 4: Method could be a function (no-self-use) W:141, 0: Unused variable '__class__' (unused-variable) C:166, 4: Invalid method name "setUp" (invalid-name) W:163, 0: Unused variable '__class__' (unused-variable) R:166, 4: Method could be a function (no-self-use) C:173, 4: Invalid method name "tearDown" (invalid-name) W:163, 0: Unused variable '__class__' (unused-variable) |
|
fixed in ce64d4a by using *debian*-packaged pylint3 (1.6.5-1). It is worth noting that the worker runs still under virtualenv. |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-12-13 18:45 | Marcello Stanisci | New Issue | |
2017-12-13 18:45 | Marcello Stanisci | Assigned To | => Marcello Stanisci |
2017-12-13 18:45 | Marcello Stanisci | Status | new => assigned |
2017-12-14 15:51 | Christian Grothoff | Product Version | => git (master) |
2017-12-14 15:51 | Christian Grothoff | Target Version | => 0.6 |
2017-12-15 17:12 | Marcello Stanisci | Note Added: 0012696 | |
2017-12-19 17:41 | Marcello Stanisci | Status | assigned => resolved |
2017-12-19 17:41 | Marcello Stanisci | Resolution | open => fixed |
2017-12-19 17:41 | Marcello Stanisci | Note Added: 0012699 | |
2017-12-19 17:41 | Marcello Stanisci | Note Edited: 0012699 | |
2017-12-19 20:20 | Christian Grothoff | Fixed in Version | => 0.5 |
2017-12-19 20:20 | Christian Grothoff | Target Version | 0.6 => 0.5 |
2018-04-15 20:34 | Christian Grothoff | Status | resolved => closed |