An open API service indexing awesome lists of open source software.

https://github.com/mperlet/pybadge

pylint badges for everyone!
https://github.com/mperlet/pybadge

badges pylint python readme

Last synced: 3 months ago
JSON representation

pylint badges for everyone!

Awesome Lists containing this project

README

        

# pybadge ![pylint Score](https://mperlet.github.io/pybadge/badges/5.00.svg)

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 `
```
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](https://mperlet.github.io/pybadge/badges/1.50.svg) < 3.00 < ![pylint Score](https://mperlet.github.io/pybadge/badges/5.51.svg) < 7.00 ![pylint Score](https://mperlet.github.io/pybadge/badges/9.73.svg) < 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.