Pylint connection.py