I\'ve installed flycheck for Emacs Python on Ubuntu 15.04.
However, when using the tool it reports false positives like print(item, end=\' \')
is wrong synt
For my case (no pipenv), I got it working by installing the checkers into python3
:
$ pip3 install flake8 pylint mypy
And adding the following to my ~/.emacs.c/custom.el
so Flycheck uses python3
for the checkers:
(custom-set-variables
'(flycheck-python-flake8-executable "python3")
'(flycheck-python-pycompile-executable "python3")
'(flycheck-python-pylint-executable "python3"))
As @uwe-koloska noted, using Ctrl-c ! v to call flycheck-verify-setup
is very helpful!