Fix flake8 warnings and errors

 - [x] merge https://github.com/OCA/connector-magento/pull/7 before