pytest-dev/pytest has 99,481 source lines of code out of 118,046 total lines across 342 files, counted from the main ref at commit c9c19f8e62c1 by the OctoCounts tokei engine on 2026-10-13. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-13 (commit c9c19f8e62c1), pytest-dev/pytest contains 118,046 total lines: 99,481 code, 4,286 comments, 14,279 blank, across 342 files in 9 languages (top: Python 98.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving pytest-dev/pytest to commit c9c19f8e62c1, 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 medium-sized codebase by counted code lines. Code represents 84.3% of all lines, comments represent 3.6%, and the repository averages 291 code lines per file. Python accounts for 98.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 225 | 115484 | 97658 | 4081 | 13745 |
| ReStructuredText | 105 | 1499 | 1042 | 0 | 457 |
| TOML | 1 | 670 | 558 | 85 | 27 |
| INI | 5 | 265 | 206 | 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.2%). Generated at .
pytest-dev/pytest has 118,046 total lines, including 99,481 code lines, 4,286 comment lines, and 14,279 blank lines.
OctoCounts resolved the public GitHub repository to commit c9c19f8e62c1, 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 c9c19f8e62c1 on 2026-10-13T09:41:36.191655041+00:00.
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,481 code lines across 9 languages, counted by tokei.