python/mypy has 246,646 source lines of code out of 317,954 total lines across 1,375 files, counted from the master ref at commit eaeb098261ae by the OctoCounts tokei engine on 2026-10-21. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
python/mypy: 246,646 code lines at commit eaeb098261ae, counted with tokei-14.0.0 on 2026-10-21. Saved result 38cc4f626bc1ee20fbaaba727b255c97b6b575e46a90e70baab23d457bf3e713.
OctoCounts produced this report by resolving python/mypy to commit eaeb098261ae, 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 77.6% of all lines, comments represent 10.9%, and the repository averages 179 code lines per file. Python accounts for 81.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 1167 | 246293 | 201504 | 16858 | 27931 |
| C Header | 59 | 31505 | 21696 | 6440 | 3369 |
| C | 90 | 20336 | 16088 | 2214 | 2034 |
| C++ | 11 | 9927 | 6425 | 2225 | 1277 |
| TOML | 10 | 330 | 267 | 28 | 35 |
| XSL | 2 | 181 | 168 | 3 | 10 |
| Templ | 2 | 132 | 95 | 30 | 7 |
| INI | 3 | 103 | 86 | 6 | 11 |
| YAML | 1 | 83 | 75 | 0 | 8 |
| CSS | 1 | 104 | 70 | 10 | 24 |
| Shell | 6 | 134 | 70 | 41 | 23 |
| Autoconf | 3 | 81 | 57 | 13 | 11 |
| Makefile | 1 | 61 | 19 | 28 | 14 |
| Emacs Lisp | 1 | 22 | 18 | 2 | 2 |
| Dockerfile | 1 | 12 | 8 | 0 | 4 |
| Markdown | 10 | 8372 | 0 | 6393 | 1979 |
| Plain Text | 7 | 278 | 0 | 252 | 26 |
Top language (Python 81.7%). Generated at .
python/mypy has 317,954 total lines, including 246,646 code lines, 34,543 comment lines, and 36,765 blank lines.
OctoCounts resolved the public GitHub repository to commit eaeb098261ae, 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 master at commit eaeb098261ae on 2026-10-21T02:49:09.230644412Z.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for python/mypy on this page — 246,646 code lines across 17 languages, counted by tokei.