RepoPilot

astral-sh/ruff · Architecture

A static read of how astral-sh/ruff is wired together — module coupling, layering, and circular dependencies — derived from its import graph.

B
Architecture grade
score 83/100
0
Import cycles
lower is better
348
Modules parsed
206 edges
100%
Layeredness
clean-layer ratio

Most-depended-on modules

These are the highest-fan-in files — change them and the blast radius is largest. Read them first.

  • crates/ruff_benchmark/benches/ty_shared/mod.rs2 importers · radius 2
  • crates/ruff_benchmark/resources/tomllib/_types.py2 importers · radius 3
  • crates/ruff_linter/src/checkers/ast/analyze/mod.rs1 importers · radius 1
  • crates/ruff_formatter/src/printer/mod.rs1 importers · radius 1
  • crates/ruff_annotate_snippets/src/renderer/mod.rs1 importers · radius 1
  • crates/ruff_benchmark/resources/tomllib/_parser.py1 importers · radius 1
  • crates/ruff_db/src/diagnostic/mod.rs1 importers · radius 1
  • crates/ruff_linter/src/message/mod.rs1 importers · radius 1

Modules (24)

Source directories grouped from the import graph. Each links to a per-module page with its files and how it couples to the rest.

Ask AI about astral-sh/ruff

Grounded in the actual source code. Pick a starter question or write your own.

Or write your own question

Informational only. RepoPilot summarises public signals at the time of analysis; they can be incomplete or stale. Not professional, security, or legal advice.