README - add a flake8 project badge

Add a project badge image and display on the README.
This gives people a way to show they use Flake8
as the linter for their project,
and link to the Flake8 project page.

This may be a fun way for people to show their support,
and help drive new users to Flake8.
This commit is contained in:
Dave Schaefer 2019-12-30 21:09:38 -07:00
parent 20906d4304
commit d1187d4409
2 changed files with 4 additions and 0 deletions

View file

@ -2,6 +2,9 @@
Flake8
========
.. image:: docs/source/img/linter-flake8-green.svg
:target: https://gitlab.com/pycqa/flake8
Flake8 is a wrapper around these tools:
- PyFlakes

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="82" height="20"><linearGradient id="b" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="a"><rect width="82" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#a)"><path fill="#555" d="M0 0h39v20H0z"/><path fill="#97ca00" d="M39 0h43v20H39z"/><path fill="url(#b)" d="M0 0h82v20H0z"/></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110"> <text x="205" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="290">linter</text><text x="205" y="140" transform="scale(.1)" textLength="290">linter</text><text x="595" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="330">flake8</text><text x="595" y="140" transform="scale(.1)" textLength="330">flake8</text></g> </svg>

After

Width:  |  Height:  |  Size: 954 B