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?

  • 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 8: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 8:44
  • Maybe this answer will help stackoverflow.com/questions/37720869/…
    – caisah
    Nov 12 '17 at 10:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.