Those two parts require python3. To avoid duplicating the exclude list, run tests and pylint on a copy installed via setuptools.
QubesOS/qubes-issues#853