Hi Python-mode folks,

several code checkers now are accessable from menu PyTools

Special thanks to

Keegan Carruthers-Smith
http://people.cs.uct.ac.za/~ksmith/2011/better-python-flymake-integration-in-emacs.html

and

Reinout van Rees
http://reinout.vanrees.org/weblog/2010/05/11/pep8-pyflakes-emacs.html

Errors are mine.

Should you miss a checker - pyflakes, pylint, or pep8

just run `easy_install THIS-TOOL'


New in version 6.0.8
--------------------

- `py-pep8-run', new command checking formatting
   `py-pep8-help'

- `py-pyflake-run', new command
   Pyflakes is a simple program which checks Python
   source files for errors. - It is similar to
   PyChecker in scope, but differs in - that it does
   not execute the modules to check them.
   `py-pyflake-help'

- `py-pylint-run', new command calls Pylint,
  a Python source code analyzer which looks for
  programming errors, helps enforcing a coding standard
  and sniffs for some code smells (as defined in Martin
  Fowler's Refactoring book) .

  Pylint checks length of lines of code, if variable
  names are well-formed according to your coding
  standard, if declared interfaces are truly
  implemented, and much more. Additionally, it is
  possible to write plugins.
  `py-pylint-doku', `py-pylint-help'

- py-pyflakespep8-run, combines calls to pyflakes and pep8

- respective flymake-modes,
  `pyflakespep8-flymake-mode', `pylint-flymake-mode'
  etc. See meny PyTools

Enjoy,

Andreas
_______________________________________________
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode

Reply via email to