psf/black has 102,059 source lines of code out of 109,567 total lines across 71 files, counted from the main ref at commit 287d570966ed 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.
As of 2026-10-21 (commit 287d570966ed), psf/black contains 109,567 total lines: 102,059 code, 4,008 comments, 3,500 blank, across 71 files in 9 languages (top: Python 99.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving psf/black to commit 287d570966ed, 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 93.1% of all lines, comments represent 3.7%, and the repository averages 1,437 code lines per file. Python accounts for 99.1% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 57 | 105186 | 101157 | 1547 | 2482 |
| Vim Script | 2 | 398 | 370 | 8 | 20 |
| TOML | 1 | 245 | 186 | 29 | 30 |
| JSON | 1 | 178 | 178 | 0 | 0 |
| YAML | 1 | 101 | 91 | 5 | 5 |
| INI | 1 | 66 | 58 | 3 | 5 |
| Dockerfile | 1 | 27 | 19 | 3 | 5 |
| Markdown | 5 | 3071 | 0 | 2161 | 910 |
| Plain Text | 2 | 295 | 0 | 252 | 43 |
Top language (Python 99.1%). Generated at .
psf/black has 109,567 total lines, including 102,059 code lines, 4,008 comment lines, and 3,500 blank lines.
OctoCounts resolved the public GitHub repository to commit 287d570966ed, 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 287d570966ed on 2026-10-21T02:47:41.734658597+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for psf/black on this page — 102,059 code lines across 9 languages, counted by tokei.