astral-sh/ruff SLOC report

As of 2026-08-26 (commit 007157d47915), astral-sh/ruff contains 1,108,411 total lines: 600,198 code, 381,557 comments, 126,656 blank, across 3,737 files in 14 languages (top: Rust 91.6%). Counted with tokei via OctoCounts.

As of 2026-08-26 (commit 007157d47915), astral-sh/ruff contains 1,108,411 total lines: 600,198 code, 381,557 comments, 126,656 blank, across 3,737 files in 14 languages (top: Rust 91.6%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving astral-sh/ruff to commit 007157d47915, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

Repository size insights

This is a large codebase by counted code lines. Code represents 54.1% of all lines, comments represent 34.4%, and the repository averages 161 code lines per file. Rust accounts for 91.6% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Rust18546429605494932905564412
Python983235031830817283467
JSON21168521684408
TSX3164735665173635
YAML2848334037404392
TOML12743613681208472
SVG17113110247136
TypeScript1875656110491
Shell1446325614067
CSS2252222030
HTML2818100
Dockerfile1382675

Top language (Rust 91.6%). Generated at 2026-08-26T18:36:12.464646257+00:00.

Report FAQ

How many lines of code does astral-sh/ruff have?

astral-sh/ruff has 1,108,411 total lines, including 600,198 code lines, 381,557 comment lines, and 126,656 blank lines.

How was the astral-sh/ruff line count measured?

OctoCounts resolved the public GitHub repository to commit 007157d47915, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for astral-sh/ruff?

This OctoCounts report was generated from main at commit 007157d47915 on 2026-08-26T18:36:12.464646257+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: