So i'm using this wrapper suggested on the emacs python wiki (found here) around pep8, pyflakes and pylint which works on the command line (after the trouble of getting it setup on windows according to " Running python scripts with subprocess in windows. Python code checker wrappers from the emacswiki yield the same error ".
However, in emacs, flymake will underline the line having an error but when I hover the mouse, the box that should contain the error message is empty. My init file contains:
(setq pycodechecker "etcwrapper.bat")
(when (load "flymake" t)
(load-library "flymake-cursor")
(defun dss/flymake-pycodecheck-init ()
(let* ((temp-file (flymake-init-create-temp-buffer-copy
'flymake-create-temp-inplace))
(local-file (file-relative-name
temp-file
(file-name-directory buffer-file-name))))
(list pycodechecker (list local-file))))
(add-to-list 'flymake-allowed-file-name-masks
'("\\.py\\'" dss/flymake-pycodecheck-init)))
etcwraper.bat is a simple batch script that runs python on the python wrapper script. I put it in a directory in my system path for convenience. Also can I make flymake underline only one character rather than the whole line? Any suggestions?