An Emacs mode for editing Python code

pylint flymake mode doesn't work

Asked by Nikolaus Rath on 2013-05-16

I'm trying to get the pylint flymake mode to work. However, when selecting the corresponding entry in the "PyTools"menu, nothing happens at all. When I looked into the source code, I found that the effect of the menu entry is to just add (".py'" flymake-pylint) to flymake-allowed-file-name-masks. However, a function "flymake-pylint" doesn't seem to exist anywhere.

Am I doing something wrong? Or has this just not been implemented yet?

Question information

Language:
English Edit question
Status:
Answered
For:
python-mode.el Edit question
Assignee:
No assignee Edit question
Last query:
2013-05-16
Last reply:
2013-05-16
Andreas Roehler (a-roehler) said : #1

Am 16.05.2013 05:16, schrieb Nikolaus Rath:
> New question #228990 on python-mode.el:
> https://answers.launchpad.net/python-mode/+question/228990
>
> I'm trying to get the pylint flymake mode to work. However, when selecting the corresponding entry in the "PyTools"menu, nothing happens at all. When I looked into the source code, I found that the effect of the menu entry is to just add (".py'" flymake-pylint) to flymake-allowed-file-name-masks. However, a function "flymake-pylint" doesn't seem to exist anywhere.
>

The menu calls pylint-flymake-mode which is provided:

(defun pylint-flymake-mode ()
   "Toggle `pylint' `flymake-mode'. "
   (interactive)
   (if flymake-mode
       ;; switch off
       (flymake-mode)
     (py-toggle-flymake-intern "pylint" "pylint")
     (flymake-mode)))

Nonetheless, seems broken currently. Linked a bug-report.

> Am I doing something wrong? Or has this just not been implemented yet?
>

Can you help with this problem?

Provide an answer of your own, or ask Nikolaus Rath for more information if necessary.

To post a message you must log in.