# psf/black SLOC report

> psf/black: 102,222 code lines at commit 8f4a058eeb2c, counted with tokei-15.0.0 on 2026-11-16. Saved result 7e1e43a217c2afa8c56a49eb3c40f395fb382263bdc54aac498755bbf59dc538.

psf/black has 102,222 source lines of code out of 110,031 total lines across 70 files, counted with tokei from the main ref at commit 8f4a058eeb2c on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving psf/black to commit 8f4a058eeb2c, 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.

## Counting rules and retention

psf/black: 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.

## Repository size insights

This is a large codebase by counted code lines. Code represents 92.9% of all lines, comments represent 3.9%, and the repository averages 1,460 code lines per file. Python accounts for 99.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 56 | 105,471 | 101,315 | 1,623 | 2,533 |
| Vim Script | 2 | 398 | 370 | 8 | 20 |
| TOML | 1 | 245 | 185 | 29 | 31 |
| JSON | 1 | 184 | 184 | 0 | 0 |
| YAML | 1 | 101 | 91 | 5 | 5 |
| INI | 1 | 66 | 58 | 3 | 5 |
| Dockerfile | 1 | 27 | 19 | 3 | 5 |
| Markdown | 5 | 3,244 | 0 | 2,328 | 916 |
| Plain Text | 2 | 295 | 0 | 252 | 43 |

Top language: Python 99.1%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/psf/black/commit/8f4a058eeb2c664ef1cc2847d3882fc4a82fe3fa?reportId=7e1e43a217c2afa8c56a49eb3c40f395fb382263bdc54aac498755bbf59dc538&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/psf/black/commit/8f4a058eeb2c664ef1cc2847d3882fc4a82fe3fa?reportId=7e1e43a217c2afa8c56a49eb3c40f395fb382263bdc54aac498755bbf59dc538&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does psf/black have?

psf/black has 102,222 lines of code, plus 4,251 comment lines and 3,558 blank lines, for 110,031 total lines at commit 8f4a058eeb2c on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the psf/black line count measured?

OctoCounts resolved the public GitHub repository to commit 8f4a058eeb2c, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for psf/black?

This OctoCounts report was generated from main at commit 8f4a058eeb2c on November 16, 2026.

## Similar repository reports

- [NVIDIA-NeMo/Guardrails](https://octocounts.com/github/NVIDIA-NeMo/Guardrails) — Python, 101,759 code lines
- [e2b-dev/E2B](https://octocounts.com/github/e2b-dev/E2B) — Python, 101,361 code lines
- [Anionex/banana-slides](https://octocounts.com/github/Anionex/banana-slides) — Python, 101,165 code lines
- [context-labs/HALO](https://octocounts.com/github/context-labs/HALO) — Python, 103,313 code lines
- [3more102/CleanroomX-Cleanroom-Design-Simulation-Verification-Platform](https://octocounts.com/github/3more102/CleanroomX-Cleanroom-Design-Simulation-Verification-Platform) — Python, 100,539 code lines
- [docling-project/docling](https://octocounts.com/github/docling-project/docling) — Python, 104,083 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Black vs Ruff](https://octocounts.com/compare/black-vs-ruff)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
