microsoft/pyright

microsoft/pyright has 494,143 source lines of code out of 577,533 total lines across 5,873 files, counted with tokei from the main ref at commit baf130b28df7 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

microsoft/pyright: 494,143 code lines at commit baf130b28df7, counted with tokei-15.0.0 on 2026-11-13. Saved result 0b29a9d00fd94d0b70028ceee548f8efeda0e86b144878f80bf2364d5a103540.

OctoCounts produced this report by resolving microsoft/pyright to commit baf130b28df7, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

Repository size insights

This is a large codebase by counted code lines. Code represents 85.6% of all lines, comments represent 4.1%, and the repository averages 84 code lines per file. Python accounts for 65.4% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Python5325362964323369535334242
TypeScript2871818581409371823022691
JSON32202652026500
YAML210864850912354
TOML2047946637754
JavaScript104223633920
HTML1272601
NuGet Config2111100
Markdown7283019093
Plain Text3450378

Top language: Python 65.4%. Generated on .

Counting rules and retention

microsoft/pyright: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does microsoft/pyright have?

microsoft/pyright has 494,143 lines of code, plus 23,927 comment lines and 59,463 blank lines, for 577,533 total lines at commit baf130b28df7 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the microsoft/pyright line count measured?

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

What commit was counted for microsoft/pyright?

This OctoCounts report was generated from main at commit baf130b28df7 on November 13, 2026.

Similar repository reports

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

Play the growth animation for microsoft/pyright on this page — 494,143 code lines across 10 languages, counted by tokei.