Responds to Webhooks from GitHub:
- New Pull Request
- Push to existing Pull Request
- It clones the repository at the branch and commit in the pull request.
- It reads the file pylint_modules.txt from the root of the repository.
- It runs pylint on all modules mentioned in that file.
- It comments on the pull request with the pylint output.
- Check-out this repository to your server.
- Install the required python packages.
Create a config.json (see config.json.example) file and fill in the port, username and password. It is recommended to limit the read permissions of this file so other users on the system cannot access the Github user account credentials in this file. Preferably you would create a new user account for this service.
python plws