python/mypy
python/mypy has 252,532 source lines of code out of 324,863 total lines across 1,381 files, counted with tokei from the master ref at commit 8674b65fd583 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
python/mypy: 252,532 code lines at commit 8674b65fd583, counted with tokei-15.0.0 on 2026-11-24. Saved result ca462f4a7d498198a26b60a6647d528ec3ed4c17203d6ec52cb4f162b45ed5ef.
Source: python/mypy on GitHub · counted commit 8674b65fd583
OctoCounts produced this report by resolving python/mypy to commit 8674b65fd583, 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 77.7% of all lines, comments represent 10.8%, and the repository averages 183 code lines per file. Python accounts for 81.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 1169 | 250053 | 204730 | 17088 | 28235 |
| C Header | 59 | 32806 | 22758 | 6553 | 3495 |
| C | 94 | 22179 | 17686 | 2358 | 2135 |
| 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 | 8377 | 0 | 6396 | 1981 |
| Plain Text | 7 | 278 | 0 | 252 | 26 |
Top language: Python 81.1%. Generated on .
Counting rules and retention
python/mypy: 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
Report FAQ
How many lines of code does python/mypy have?
python/mypy has 252,532 lines of code, plus 35,033 comment lines and 37,298 blank lines, for 324,863 total lines at commit 8674b65fd583 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
How was the python/mypy line count measured?
OctoCounts resolved the public GitHub repository to commit 8674b65fd583, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for python/mypy?
This OctoCounts report was generated from master at commit 8674b65fd583 on November 24, 2026.
Play the growth animation for python/mypy on this page — 252,532 code lines across 17 languages, counted by tokei.