mperlet / pybadge

pylint badges for everyone!

Home Page:https://mperlet.github.io/pybadge/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pybadge pylint Score

pylint badges for everyone!

Howto

  1. Check your pylint score with pylint or python3-pylint
  2. Goto: https://mperlet.github.io/pybadge/ and insert your score
  3. Copy the generated markdown link into your README

bash alias for markdown text

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)"
}

Color intervals

0.00 < pylint Score < 3.00 < pylint Score < 7.00 pylint Score < 10.00

Limitations

  • negative scores are not supported
  • no dynamic badges, needs something like continuous integration services

Idea

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.

About

pylint badges for everyone!

https://mperlet.github.io/pybadge/


Languages

Language:HTML 77.7%Language:Python 22.3%