]> git.eshelyaron.com Git - emacs.git/commit
Add a Flymake backend for Python (bug#28808)
authorLele Gaifax <lele@metapensiero.it>
Fri, 3 Nov 2017 12:20:36 +0000 (12:20 +0000)
committerJoão Távora <joaotavora@gmail.com>
Sun, 5 Nov 2017 12:15:45 +0000 (12:15 +0000)
commit3ad712ebc91438838df29b0e12b3103d409ee3a4
tree9b592f22ea8198dcab0127e4d3058e31102be5d9
parent8db2b3a79bef0dab286badc3f0af164387a24a67
Add a Flymake backend for Python (bug#28808)

Implement new Flymake backend with related customizable settings.

* lisp/progmodes/python.el (python-flymake-command)
(python-flymake-command-output-pattern)
(python-flymake-msg-alist): New defcustom.
(python--flymake-parse-output): New function, able to parse
python-flymake-command output accordingly to
python-flymake-command-output-pattern.
(python-flymake): New function implementing the backend
interface using python--flymake-parse-output for the real
work.
(python-mode): Add python-flymake to flymake-diagnostic-functions.
lisp/progmodes/python.el