A small Flask application to keep keep track of pylint reports and ratings on a per-repository basis.
The two main requirements are Flask and Travis. No other build server ios supported at the moment.
This application configures a POST route on /reports. This endpoint accepts a pylint report generated from your travis build, and a travis job id.
In your install section, put something like the following:
install: - "pip install pylint"
In your after_success section, put something like this:
after_success: - pylint --output-format=html pylint_server > /tmp/pylint-report.html - curl -v -m 120 -X POST -F travis-job-id=$TRAVIS_JOB_ID -F pylint-report=@/tmp/pylint-report.html https://pylint.whatever.com/reports
Assuming you're using github, the app will deposit the report under:
/githubuser/repo/report.html
And a colour coded pylint rating image under:
/githubuser/repo/rating.svg
Put a badge on your README accordingly.