Skip to content

非常快的 Python 代码风格检查和格式化工具。该项目采用 Rust 编写,比 Python 的 Flake8 和 Black 快 10-100 倍,支持通过 pip 安装、内置 700+ 规则、兼容 Python 3.12、自动纠错等功能。

Rust · active 2025-03-282026-08-10 (UTC)

Partial coverage11,268 / 12,011 hourly files (94%) · 2 absent upstream · 741 failed, retryable2025-03-282026-08-10 (UTC)— sampled evenly across the window, so rankings and trends hold; absolute counts scale up.
Events
47.6K
Pushes
9.8K
Pull requests
5.5K
Issues
1.3K
Stars
4.5K
Forks
321

Activity over time

Daily event counts in the loaded window

Line chart, 501 days from 2025-03-28 to 2026-08-10. Pushes: 9,786 total, peak 102 in a day. Pull requests: 5,484 total, peak 66 in a day. Issues: 1,265 total, peak 18 in a day. Comments: 15,126 total, peak 115 in a day. Stars: 4,531 total, peak 68 in a day.

  • Pushes
  • Pull requests
  • Issues
  • Comments
  • Stars

Stars, PRs, issues and forks are under-captured in the later part of this window. GH Archive progressively stopped capturing non-push events during 2026 — −95% or worse by the end of the window. Every series here except Pushes fades for that reason, so a decline above reflects the archive, not this repository. Pushes stay reliable throughout, so read them, and the contributor counts derived from them, as the real signal. Data health has the measurements.

Top contributors

Pushes, PRs, issues, reviews and comments — stars and forks excluded, so this is contribution rather than popularity

ContributorContributionsPushesPRsComments
MichaReiser5K1.2K6511.9K
AlexWaygood4.7K1.3K8671.5K
charliermarsh3.4K2.6K419247
ntBre3.2K6164251.2K
carljm2.5K4242451.1K
sharkdp1.9K637406482
github-actions[bot]1.9K39271.8K
astral-sh-bot[bot]1.8K01661.7K
dhruvmanila1.3K330144488
dcreager1.2K511115346
ibraheemdev830406141162
renovate[bot]66511951927
lerebear616588812
BurntSushi57014070214
amyreese54216181159
Gankra470130104143
oconnor66345818442145
mtshiba35213660100
MatthewMckee4271050145
codspeed-hq[bot]20900209

Recent activity

Latest issues, pull requests and releases

  • Issue comment#27629astral-sh-bot[bot]2026-08-10 11:56
    [ty] Support Annotated inside type[...]
  • Issue comment#27614astral-sh-bot[bot]2026-08-09 15:19
    [ty] Two equality constraints are usually disjoint
  • Issue comment#27574astral-sh-bot[bot]2026-08-07 21:09
    Enable PGO for Linux ARM64 Ruff releases
  • Issue comment#27572astral-sh-bot[bot]2026-08-07 20:38
    Enable PGO for macOS ARM64 Ruff releases
  • Issue comment#27582astral-sh-bot[bot]2026-08-07 19:55
    [ty] Preserve literal-string origin in comparison narrowing
  • Pull request#27581carljm2026-08-07 19:27
  • Issue comment#27522carljm2026-08-07 18:36
    [ty] Recognize overlapping NewTypes and their underlying values
  • Pull request#27579carljm2026-08-07 18:14
  • Pull request#27577AlexWaygood2026-08-07 16:43
  • Issue comment#27577astral-sh-bot[bot]2026-08-07 16:17
    [ty] Expand type aliases for `Generator` when evaluating a generator function's return/send/yield type
  • Issue comment#27575astral-sh-bot[bot]2026-08-07 16:16
    Evaluate BOLT for Linux ARM64 Ruff releases
  • Issue comment#27576astral-sh-bot[bot]2026-08-07 16:15
    Switch db to ruff_annotate_snippets' suggestions
  • Issue comment#27408astral-sh-bot[bot]2026-08-01 17:05
    [ty] Remove unused TypeVarVariance bounds
  • Issue comment#27406MichaReiser2026-08-01 16:31
    [ty] Display numeric tower unions canonically
  • Issue comment#27404astral-sh-bot[bot]2026-08-01 13:33
    [`ruff_python_ast`] Fix double visit / missing elif visit
  • Issue comment#21581jenstroeger2026-07-29 22:47
    Formatter should avoid splitting arguments into their own line
  • Issue comment#27274astral-sh-bot[bot]2026-07-29 02:22
    Update Rust crate clap to v4.6.4
  • Issue#27149thegamecracks2026-07-24 01:26
    I001: Poor reformatting when autofixing multi-line re-exports
  • Issue comment#27090sharkdp2026-07-23 06:44
    [ty] Add error context to failed dunder call diagnostics
  • Issue comment#27113astral-sh-bot[bot]2026-07-22 21:55
    [ty] Store typevar instances in `InferableTypeVars`
  • Issue comment#27077astral-sh-bot[bot]2026-07-22 01:31
    Update Rust crate regex to v1.13.0
  • Issue comment#27066astral-sh-bot[bot]2026-07-22 01:29
    Update Rust crate jiff to v0.2.32
  • Pull request#27068renovate[bot]2026-07-22 01:24
  • Issue comment#27003charliermarsh2026-07-20 14:03
    [ty] Preserve Self in object.__new__ calls
  • Pull request#26972Joosboy2026-07-19 08:07

Totals cover only the window loaded into ClickHouse and count events, not GitHub's lifetime totals — 4,531 stars here means stars gained during the window, not the repo's star count.