[portland] Pylint, Emacs, and More
brett at rdnzl.net
Thu Jul 15 23:44:37 CEST 2010
I've always used pyflakes simply because it's fast - it analyzes the
source of your python module; it doesn't try to import making
configuration as easy as typing "pyflakes foo.py".
I can't comment on python-pylint.el - I'm not familiar with it. Many
of us are using flymake and pyflakes to do on the fly syntax checking
in Emacs. Flymake is a framework for emacs that provides hooks for
doing on the fly syntax checking:
Chris M. explains a basic setup here:
For a more sophisticated setup, see my dotfile repo and Jason K's
Hope this helps.
On Thu, Jul 15, 2010 at 1:03 PM, Rich Shepard <rshepard at appl-ecosys.com> wrote:
> I want to run pylint from within emacs, and have python-pylint.el in
> /usr/share/emacs/site-lisp/. The python-pylint.el script starts with an
> autoload command that is supposed to load it as a minor-mode. I'm far from
> an emacs expert and would like guidance on how to modify ~/.emacs to load
> this script when a .py file is loaded and the python major mode is invoked.
> Also, what are the relations among emacs-flymake, pylint, and pyflakes? I
> understand that pychecker is a subset of pylint but don't understand
> pyflakes or why flymake is also needed.
> Clarification and guidance greatly appreciated.
> Portland mailing list
> Portland at python.org
More information about the Portland