pylint badges for everyone!
- Check your pylint score with
pylint
orpython3-pylint
- Goto: https://mperlet.github.io/pybadge/ and insert your score
- Copy the generated markdown link into your README
run pybadge <pyfile>
function pybadge() {
echo "![pylint Score](https://mperlet.github.io/pybadge/badges/$(pylint $1 2> /dev/null | tail -n2 | awk '{print $7}' | cut -d"/" -f1).svg)"
}
0.00 < < 3.00 < < 7.00 < 10.00
- negative scores are not supported
- no dynamic badges, needs something like continuous integration services
I was looking for python badges and could not find any for pylint. The idea for this implementation is inspired from the blogpost http://www.desmondrivet.com/blog/technical/pylint-badges.html.