Skip to content

Fix download badge#3232

Merged
koxudaxi merged 2 commits into
mainfrom
fix/download-badge
Jun 2, 2026
Merged

Fix download badge#3232
koxudaxi merged 2 commits into
mainfrom
fix/download-badge

Conversation

@koxudaxi

@koxudaxi koxudaxi commented Jun 2, 2026

Copy link
Copy Markdown
Owner

Summary by CodeRabbit

  • Documentation
    • Updated the downloads badge across project documentation to use a more reliable source for displaying package download statistics.

@coderabbitai

coderabbitai Bot commented Jun 2, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 4aedaee5-a761-4f25-bc17-1b856ea8333d

📥 Commits

Reviewing files that changed from the base of the PR and between 316584d and 544cb28.

⛔ Files ignored due to path filters (1)
  • docs/llms-full.txt is excluded by none and included by none
📒 Files selected for processing (2)
  • README.md
  • docs/index.md

📝 Walkthrough

Walkthrough

Updated the downloads badge in documentation files (README.md and docs/index.md) to use Pepy's monthly downloads badge instead of the previous pypistats badge source.

Changes

Downloads Badge Update

Layer / File(s) Summary
Downloads badge replacement
README.md, docs/index.md
Replaced pypistats downloads badge with Pepy monthly downloads badge in both the README and docs homepage.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • koxudaxi/datamodel-code-generator#3052: Both PRs update the "Downloads" badge in README.md and docs/index.md, switching the badge source/target between pepy.tech and pypistats/img.shields.io.

Poem

A badge worn new, with pepy's gleam, ✨
Downloads tracked in stats' bright stream,
Docs now shine with monthly count,
No pypistats shall henceforth mount!
🐰 Hop-hop, refreshed!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Fix download badge' clearly and concisely describes the main change: replacing download badges in README.md and docs/index.md from pypistats to pepy.tech.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/download-badge

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

github-actions Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

📚 Docs Preview: https://pr-3232.datamodel-code-generator.pages.dev

@codspeed-hq

codspeed-hq Bot commented Jun 2, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

✅ 11 untouched benchmarks
⏩ 98 skipped benchmarks1


Comparing fix/download-badge (544cb28) with main (316584d)

Open in CodSpeed

Footnotes

  1. 98 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@codecov

codecov Bot commented Jun 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (316584d) to head (544cb28).

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #3232   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          111       111           
  Lines        24773     24773           
  Branches      3132      3132           
=========================================
  Hits         24773     24773           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@koxudaxi koxudaxi marked this pull request as ready for review June 2, 2026 04:24
@koxudaxi koxudaxi enabled auto-merge (squash) June 2, 2026 04:24
@koxudaxi koxudaxi merged commit f5d2810 into main Jun 2, 2026
50 checks passed
@koxudaxi koxudaxi deleted the fix/download-badge branch June 2, 2026 04:32
@github-actions

github-actions Bot commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

🎉 Released in 0.59.1

This PR is now available in the latest release. See the release notes for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant