pep8 / flake8 fixes

Cherry-pick of https://github.com/OCA/connector/pull/9 to master