Run pylint based on the python version and make it optional
Run pylint based on the python version and make it optional

python3-pylint with Python 3, pylint with Python 2. And if none is available?
Just skip it.

rhinstaller/libblockdev,rhinstaller/libblockdev,rhinstaller/libblockdev