# psf/black SLOC report

> As of 2026-09-16 (commit acd6198877ce), psf/black contains 108,302 total lines: 101,107 code, 3,827 comments, 3,368 blank, across 73 files in 9 languages (top: Python 99.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

psf/black has 101,107 source lines of code out of 108,302 total lines across 73 files, counted from the acd6198877ced2d8126b9b3958bb17f4a65ef0d1 ref at commit acd6198877ce by the OctoCounts tokei engine on 2026-09-16. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

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

## Repository size insights

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

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 59 | 104,071 | 100,235 | 1,450 | 2,386 |
| Vim Script | 2 | 398 | 370 | 8 | 20 |
| TOML | 1 | 244 | 185 | 29 | 30 |
| JSON | 1 | 163 | 163 | 0 | 0 |
| YAML | 1 | 87 | 77 | 5 | 5 |
| INI | 1 | 66 | 58 | 3 | 5 |
| Dockerfile | 1 | 27 | 19 | 3 | 5 |
| Markdown | 5 | 2,951 | 0 | 2,077 | 874 |
| Plain Text | 2 | 295 | 0 | 252 | 43 |

Top language (Python 99.1%). Generated at 2026-09-16T05:18:32.371566997+00:00. Canonical report: https://octocounts.com/github/psf/black

## Reproduce this report

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

## Report FAQ

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

psf/black has 108,302 total lines, including 101,107 code lines, 3,827 comment lines, and 3,368 blank lines.

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

OctoCounts resolved the public GitHub repository to commit acd6198877ce, 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 acd6198877ced2d8126b9b3958bb17f4a65ef0d1 at commit acd6198877ce on 2026-09-16T05:18:32.371566997+00:00.

## Similar repository reports

- [zabwie/vanta](https://octocounts.com/github/zabwie/vanta) — Python, 100,011 code lines
- [SenteLabsAI/OpenExecutive](https://octocounts.com/github/SenteLabsAI/OpenExecutive) — Python, 102,253 code lines
- [xinhuangcs/CareerDesk](https://octocounts.com/github/xinhuangcs/CareerDesk) — Python, 98,738 code lines
- [python-pillow/Pillow](https://octocounts.com/github/python-pillow/Pillow) — Python, 98,184 code lines
- [radixark/miles](https://octocounts.com/github/radixark/miles) — Python, 97,123 code lines
- [alibaba/ROLL](https://octocounts.com/github/alibaba/ROLL) — Python, 95,880 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)
- [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)
- [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)
