docs: add PyPI downloads badge to the README - #361
Conversation
Placed in the first badge row alongside license, Python, platform and last-commit, before the <br> that separates project badges from the social ones -- it is a project statistic, so it groups with last-commit rather than with the Twitter/Discord links. Written as <a><img> to match every other badge in that block rather than as markdown, since the surrounding <div align="center"> is raw HTML, and the query string uses & for the same reason the trendshift badge below it does.
PR Summary by QodoAdd PyPI downloads badge to README
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo
Context used✅ Compliance rules (platform):
16 rules 1. Long img src URL
|
| <img src="https://img.shields.io/badge/platform-Windows%207–11-blue" alt="Platform: Windows 7 to 11"> | ||
| <img src="https://img.shields.io/github/last-commit/CursorTouch/Windows-MCP" alt="Last Commit"> | ||
| <a href="https://pepy.tech/projects/windows-mcp"> | ||
| <img src="https://static.pepy.tech/personalized-badge/windows-mcp?period=total&units=INTERNATIONAL_SYSTEM&left_color=BLACK&right_color=GREEN&left_text=downloads" alt="PyPI Downloads"> |
There was a problem hiding this comment.
1. Long img src url 📘 Rule violation ✧ Quality
The added Pepy badge img line exceeds the 100-character maximum line length. This can reduce readability and violates the repo’s line-length compliance rule.
Agent Prompt
## Issue description
A newly added line in `README.md` exceeds the 100-character maximum line length due to a very long badge `src` URL.
## Issue Context
This PR adds a Pepy downloads badge using a `personalized-badge` URL with a long query string, resulting in a line-length compliance violation.
## Fix Focus Areas
- README.md[10-12]
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
Adds the pepy.tech downloads badge (currently reading 194k).
Placement
First badge row, after
Last Commitand before the<br>that separates project badges from the social ones:It is a project statistic, so it groups with
last-commitrather than with the Twitter/Discord links.Formatting
Written as
<a><img>rather than markdown, because the surrounding<div align="center">is raw HTML and every other badge in that block uses the same form — markdown image syntax is unreliable inside an HTML block without surrounding blank lines.The query string uses
&for the same reason the trendshift badge directly below it does.Verified the badge URL returns
200 image/svg+xml.