[pkg-discuss] Pylinting the pkg GUI code.
Rich Burridge
Rich.Burridge at Sun.COM
Fri Jul 25 12:51:51 PDT 2008
I spent some time this morning putting together a pylint
configuration file to use with the pkg GUI code (see the
gui_pylintrc attached). The comments at the beginning
of the file hopefully explain how to use it and what it's
currently doing.
(Note that its currently not pylinting the various files
under .../gate/src/gui/modules. That should be easy to
adjust).
By suppressing various messages, it's much clearer to see
what the potential problems are that remain (see the
attached pylint-results.txt file).
After these errors and warnings have been analyzed and
adjusted accordingly, there are several "cherry picks"
that can easily be fixed up (see lines in the gui_pylintrc
that have a "(fix)" on them.
It might be nice if this gui_pylintrc file was added under
.../gate/src at some point to aid the GUI developers in
tidying up the code. I can also help generate some fixup
patches to resolve some of the "(fix)" problems that are
currently being suppressed by the configuration file.
Thanks.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gui_pylintrc
URL: <http://mail.opensolaris.org/pipermail/pkg-discuss/attachments/20080725/f0b4d4e5/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pylint-results.txt
URL: <http://mail.opensolaris.org/pipermail/pkg-discuss/attachments/20080725/f0b4d4e5/attachment.txt>
More information about the pkg-discuss
mailing list