cabbage icon indicating copy to clipboard operation
cabbage copied to clipboard

Transition to Flycheck

Open tonini opened this issue 9 years ago • 7 comments

I always just had problems with flymake and most of the time just haven't it enabled.

I think we should consider to switch to Flycheck.

Why?

Because it's just great. Language support is amazing, it's highly maintained and people just use it.

@senny @jone what do you guys think about that?

tonini avatar Nov 19 '14 05:11 tonini

can you prepare a PR for me to check out for a bit? I'm not a big fan of Flymake but it serves the purpose I use it for "ok". If Flycheck delivers the same I'm happy to move over.

senny avatar Nov 19 '14 07:11 senny

I've had trouble with flymake and compile-mode; flymake crashes sometimes silently while compiling. If flycheck does the job and does not crash I'll happily switch :wink:

jone avatar Nov 19 '14 17:11 jone

I've had the same problems like @jone describe. So if flycheck would solve this troubles, that would be nice :+1:

phgross avatar Nov 19 '14 18:11 phgross

@jone What's the default source code checker for python these days? Currently we're going with pyflakes and flymake. Maybe going with flake8 https://pypi.python.org/pypi/flake8 would be decent way.

What do you think?

tonini avatar Nov 24 '14 07:11 tonini

I'd go with pyflakes only.

flake8 includes pyflakes but also pep8. pyflakes only checks for logical errors in the code, but pep8 also checks for the python style guide, which results in a lot more errors. Although we (at my company) try to apply pep8 to a certain degree it is sometimes impossible and often hard to do so.

Personally I want see pyflakes while coding (as flymake does it with a red background) but I want pep8 errors only on demand (I have other setups for this). I think I would disable it if it would include pep8 because of the code I sometimes work on and because it would be too distracting for me..

jone avatar Nov 24 '14 20:11 jone

@jone So you think we should just setup flycheck with pyflakes and let the rest to the user itself to customize?

tonini avatar Nov 25 '14 13:11 tonini

Yes, that sounds good :+1:

jone avatar Nov 25 '14 18:11 jone