As of 2026-08-26 (commit 37c03866d792), microsoft/pyright contains 572,386 total lines: 491,828 code, 22,983 comments, 57,575 blank, across 5,694 files in 9 languages (top: Python 63.8%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving microsoft/pyright to commit 37c03866d792, 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.9% of all lines, comments represent 4.0%, and the repository averages 86 code lines per file. Python accounts for 63.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 5199 | 352615 | 313763 | 5174 | 33678 |
| TypeScript | 238 | 161929 | 123002 | 17502 | 21425 |
| JSON | 35 | 45823 | 45823 | 0 | 0 |
| YAML | 2 | 10641 | 8323 | 1 | 2317 |
| TOML | 201 | 766 | 643 | 72 | 51 |
| JavaScript | 8 | 314 | 263 | 35 | 16 |
| NuGet Config | 2 | 11 | 11 | 0 | 0 |
| Markdown | 6 | 242 | 0 | 162 | 80 |
| Plain Text | 3 | 45 | 0 | 37 | 8 |
Top language (Python 63.8%). Generated at 2026-08-26T18:16:29.560278783+00:00.
microsoft/pyright has 572,386 total lines, including 491,828 code lines, 22,983 comment lines, and 57,575 blank lines.
OctoCounts resolved the public GitHub repository to commit 37c03866d792, 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 37c03866d792 on 2026-08-26T18:16:29.560278783+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: