We are not linting the codebase

Perhaps it would be nice to add a linter, my suggestion would be pylint as this is used in BuildStream core.