I've installed flake8 for flycheck to use to check my python syntax. I installed flake8 in cygwin, using the python interpreter shipped with cygwin, which results in a
flake8 file in
C:\cygwin64\bin. The problem is, emacs seems to only respect exe files so if I
(executable-find "flake8") it yields
nil. I had the same problem when I enabled anaconda-mode, since cygwin has
C:\cygwin64\bin. I solved this by copy
python.exe, but the flake8 problem can't be solved this way.
vim /usr/bin/flake8d, turns out it's really
flake.py with python code inside to run with python.
tl;dr: Generally the question is: How to make emacs aware of "excutables" that would normally run by
node eslint.js? (When I used eslint with flycheck for js-file syntax check, it just works, maybe there's the solution?)
Thanks in advance.