We use lint-review, an automated code linting bot that checks pull requests for code style errors (such as pep8 violations). It uses the Github API to fetch the changes, runs linters against them and comments on the pull request if any code style errors are there in the changes.