Closed GoogleCodeExporter closed 8 years ago
This is a good idea but it should probably be disabled by default (even if
pylint is
available) and made available via a configuration setting; otherwise, it might
be too
intimidating for beginners.
I agree with the suggestion to only show the pylint score as a link under the
editor
field.
Original comment by andre.ro...@gmail.com
on 9 Jul 2008 at 1:59
In all cases, I will add an option to enable/disable it.
Maybe we can work on the interface to make it less intimidating (if there is
just the
score, it can be easily ignored)...
A beginner who learns python step by step will, at each step, see some errors or
warnings, and will probably try to write a better code for this step. I think
this
can be better than discover, after some week/month passed to learn python, that
Pylint has an enormous lists of errors because of some bad habits.
Original comment by florian....@gmail.com
on 9 Jul 2008 at 2:10
I've committed a first prototype in my branch (r824). For the moment, it is a
separate plugin (an editor with an "Run analyzer" button). I'll work on an
integration with editor/doctest/unittest later.
I have a problem about how sending the output of pylint to the client (in the
pylint_runner_callback of plugins/vlam_pylint.py). I can make it work by using
exec_code, but this doesn't have sense. Can anyone look the code?
Original comment by florian....@gmail.com
on 10 Jul 2008 at 9:18
Regarding comment 3:
request.wfile.write gets sends to the browser ... which doesn't know where to
put it.
All the comet stuff has been cleverly designed by Johannes to redirect io to the
appropriate object.
I'll make some changes to your code and commit.
Original comment by andre.ro...@gmail.com
on 11 Jul 2008 at 12:15
Ok, thanks!
The question is now... how to tell it where put the report? I'm waiting your
changes.
Original comment by florian....@gmail.com
on 11 Jul 2008 at 12:18
Changing label: this should definitely be included in 1.0.
Original comment by andre.ro...@gmail.com
on 11 Jul 2008 at 1:03
I have finished the pylint support, it is available in my branch (r862). There
is an
analyzer frontend, and a pylint backend. The choice of the analyzer (or to
disable
analyzers) is available through a configuration option.
Some points can be improved, like the display of the score. I think also to
write
another backend, to make sure that the abstraction of the analyzer frontend
works well.
Original comment by florian....@gmail.com
on 17 Jul 2008 at 9:32
I've added a PyChecker backend, and that works.
Original comment by florian....@gmail.com
on 21 Jul 2008 at 11:52
And now the third backend: PyFlakes, in r878.
Original comment by florian....@gmail.com
on 24 Jul 2008 at 11:22
Included in main documentation. Revision 1032.
Original comment by andre.ro...@gmail.com
on 5 Oct 2008 at 11:56
Original issue reported on code.google.com by
florian....@gmail.com
on 9 Jul 2008 at 1:53