pytest-dev/pytest has 99,522 source lines of code out of 118,093 total lines across 344 files, counted from the main ref at commit c9bf1edf9e0d by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-22 (commit c9bf1edf9e0d), pytest-dev/pytest contains 118,093 total lines: 99,522 code, 4,289 comments, 14,282 blank, across 344 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 c9bf1edf9e0d, 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 289 code lines per file. Python accounts for 98.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 225 | 115524 | 97693 | 4084 | 13747 |
| ReStructuredText | 107 | 1506 | 1048 | 0 | 458 |
| 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,093 total lines, including 99,522 code lines, 4,289 comment lines, and 14,282 blank lines.
OctoCounts resolved the public GitHub repository to commit c9bf1edf9e0d, 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 c9bf1edf9e0d on 2026-10-22T05:44:23.448284781+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,522 code lines across 9 languages, counted by tokei.