0

By default, flycheck uses pylint for checking python code. However, the pylint program on Debian/Ubuntu is for checking Python 2, not Python3 (there is instead pylint3 for Python3).

How do I configure flycheck to use pylint3 instead of pylint for checking Python3 code?

Flux
  • 583
  • 2
  • 16
  • I just tried installing `pylint` and `pylint3` on Ubuntu 17, and there wasn't a problem (Ubuntu calls the executable of `pylint3` with `3` in the end, so there is no name collision.) I'm not using `flycheck` with Python, so I wouldn't know about that. – wvxvw Nov 12 '17 at 08:26
  • @wvxvw the problem is not with installing pylint and pylint3. The problem is how to use pylint3 (instead of pylint) for checking python3 code using flycheck. – Flux Nov 12 '17 at 08:44
  • Maybe this answer will help https://stackoverflow.com/questions/37720869/emacs-how-do-i-set-flycheck-to-python-3#39024637 – caisah Nov 12 '17 at 10:40

0 Answers0