pytest-dev/pytest has 99,856 source lines of code out of 118,536 total lines across 259 files, counted with tokei from the main ref at commit 50234b4e6700 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-15 (commit 50234b4e6700), pytest-dev/pytest contains 118,536 total lines: 99,856 code, 4,350 comments, 14,330 blank, across 259 files in 9 languages (top language: Python 98.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving pytest-dev/pytest to commit 50234b4e6700, 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 medium-sized codebase by counted code lines. Code represents 84.2% of all lines, comments represent 3.7%, and the repository averages 386 code lines per file. Python accounts for 98.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 225 | 116159 | 98197 | 4145 | 13817 |
| ReStructuredText | 22 | 1313 | 877 | 0 | 436 |
| TOML | 1 | 670 | 558 | 85 | 27 |
| INI | 5 | 266 | 207 | 36 | 23 |
| YAML | 1 | 13 | 10 | 1 | 2 |
| Gherkin (Cucumber) | 1 | 9 | 6 | 0 | 3 |
| Autoconf | 1 | 5 | 1 | 4 | 0 |
| Markdown | 2 | 86 | 0 | 64 | 22 |
| Plain Text | 1 | 15 | 0 | 15 | 0 |
Top language: Python 98.3%. Generated on .
pytest-dev/pytest: 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.
pytest-dev/pytest has 99,856 lines of code, plus 4,350 comment lines and 14,330 blank lines, for 118,536 total lines at commit 50234b4e6700 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 50234b4e6700, 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 50234b4e6700 on November 15, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for pytest-dev/pytest on this page — 99,856 code lines across 9 languages, counted by tokei.