pep8 connection.py