Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

Topics

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages