Closed jamespo closed 3 years ago
I think Emacs 26.1 happens.
Because python.el
now provides a flymake backend, elpy was modified to use it in place of elpy's own backend.
It appears that after this switch, flymake uses flake8
, but elpy-check
still use the default linter (pyflakes
), which may explain why you get workings checks, but no squiggly lines.
Just to check if flymake works properly, what is the result of M-x flymake-show-diagnostics-buffer
?
Yes, it could well be due to emacs 26.1
M-x flymake-show-diagnostics-buffer isn't found for me
However, I've noticed if I run flymake-python-pyflakes-load I get the desired behaviour so I've added this as a hook to python-mode for now.
That is unexpected, the new version of flymake (featuring the "diagnostics" functions) should be shipped with Emacs 26.1.
In fact I just checked from the Emacs 26.1 sources and it is.
Summary
elpy-check works but I don't get the squiggly lines under errors... it used to work; not sure what's changed.
Steps to reproduce
Load a python file. Make bad edit & save
My configuration
OS
Fedora Core 28
Result of
(elpy-config)
Elpy configuration in my init.el