disable pylint's unused imports warning in _compat.py