microsoft/pyright has 485,679 source lines of code out of 567,934 total lines across 5,836 files, counted from the main ref at commit 373ab6471097 by the OctoCounts tokei engine on 2026-10-23. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-23 (commit 373ab6471097), microsoft/pyright contains 567,934 total lines: 485,679 code, 23,565 comments, 58,690 blank, across 5,836 files in 9 languages (top: Python 66.6%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving microsoft/pyright to commit 373ab6471097, 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.
This is a large codebase by counted code lines. Code represents 85.5% of all lines, comments represent 4.1%, and the repository averages 83 code lines per file. Python accounts for 66.6% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 5324 | 362861 | 323289 | 5344 | 34228 |
| TypeScript | 255 | 172639 | 132781 | 17902 | 21956 |
| JSON | 31 | 20192 | 20192 | 0 | 0 |
| YAML | 2 | 10802 | 8459 | 1 | 2342 |
| TOML | 204 | 794 | 663 | 77 | 54 |
| JavaScript | 9 | 339 | 284 | 37 | 18 |
| NuGet Config | 2 | 11 | 11 | 0 | 0 |
| Markdown | 6 | 251 | 0 | 167 | 84 |
| Plain Text | 3 | 45 | 0 | 37 | 8 |
Top language (Python 66.6%). Generated at .
microsoft/pyright has 567,934 total lines, including 485,679 code lines, 23,565 comment lines, and 58,690 blank lines.
OctoCounts resolved the public GitHub repository to commit 373ab6471097, 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 373ab6471097 on 2026-10-23T07:39:18.581149978+00:00.
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 — 485,679 code lines across 9 languages, counted by tokei.