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?