jorgenschaefer / elpy

Emacs Python Development Environment
GNU General Public License v3.0
1.9k stars 261 forks source link

global flake8 indication #978

Open clintonroy opened 8 years ago

clintonroy commented 8 years ago

I would like some sort of global indication that there are more flake8 issues to fix. at the moment I have to go to previous and next issues to make sure there aren't any problems. I think flake8 supports this, but I've struggled to set it up myself :/

humitos commented 8 years ago

This is probably something related to flymake, that is the module used by elpy to indicate the errors/warnings.

I'm using flycheck with flake8 and I can see a 1/2 (1 error, 2 warnings) in the mode line, for example.

I don't have the solution, but I'm giving at least a tip where to look :)

clintonroy commented 8 years ago

OK, switching to flycheck instead of flymake immediately gave me a useful global message in my mode line, exactly what I was after.

I still had to go searching for a snippet to remove flymake and insert flycheck from issue #304. In my obviously 100% correct view of the world, elpy would use flycheck over flymake if it's available.

jorgenschaefer commented 8 years ago

I agree. See #137 :-)