REA Black config notes (unofficial)
Black config ([tool.black] / black.toml) pins Python format policy identity. In REA 6.7.x, treat selected line-length/target-version pins as Evidence beside archive/package routes — complementing rea-ruff-toml without inventing APIs.
Mental model
- Authorize the Black config (+ artifacts you hold).
- Quote selected line-length / target-version / include-exclude pins you actually see.
- Ruff toml cousin → rea-ruff-toml; isort → rea-isort-config.
- Bind absolute paths honestly → rea-absolute-paths.
- Do not invent a Black API REA never called.
Minimal path
# authorized pyproject.toml [tool.black] / black.toml (+ artifact you hold)
# quote selected line-length/target-version pins into case notes
# cousins → ruff-toml / isort-config / ruff-config
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_black .
Compare
| Artifact | Honest posture |
|---|---|
| Black config | Format-policy identity facts |
| ruff.toml cousin | rea-ruff-toml |
| isort cousin | rea-isort-config |
| Evidence binder | rea-evidence-explained |
Scope we will not cover
- No inventing
inspect_black/ automatic format runs. - No credential theft from config secrets / env.
- No pirate redistribution of paid packages.
- No crack framing via Black pins.
RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.
FAQ
How is this different from rea-ruff-toml / rea-ruff-config?
Ruff pages cover Astral lint/format identity. This page zooms on Black format config pins ([tool.black] / black.toml) as Evidence — it does not overwrite those pages.
Is there inspect_black in 6.7.0?
Not assumed. Quote line-length / target-version / include-exclude pins you actually open. Do not invent inspect_black.
Does REA run black or rewrite source trees?
No. Local trees only. Redact secrets/env; do not treat REA as a formatter runner.
Black vs isort / Ruff format?
Label Evidence by the file present. Keep this lane separate from rea-isort-config and rea-ruff-toml.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).