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.
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.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 5325 | 362964 | 323369 | 5353 | 34242 |
| TypeScript | 287 | 181858 | 140937 | 18230 | 22691 |
| JSON | 32 | 20265 | 20265 | 0 | 0 |
| YAML | 2 | 10864 | 8509 | 1 | 2354 |
| TOML | 204 | 794 | 663 | 77 | 54 |
| JavaScript | 10 | 422 | 363 | 39 | 20 |
| HTML | 1 | 27 | 26 | 0 | 1 |
| NuGet Config | 2 | 11 | 11 | 0 | 0 |
| Markdown | 7 | 283 | 0 | 190 | 93 |
| Plain Text | 3 | 45 | 0 | 37 | 8 |
Top language: Python 65.4%. Generated on .
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.
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.
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.
This OctoCounts report was generated from main at commit baf130b28df7 on November 13, 2026.
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.