REA Black config notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

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

  1. Authorize the Black config (+ artifacts you hold).
  2. Quote selected line-length / target-version / include-exclude pins you actually see.
  3. Ruff toml cousin → rea-ruff-toml; isort → rea-isort-config.
  4. Bind absolute paths honestly → rea-absolute-paths.
  5. 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

ArtifactHonest posture
Black configFormat-policy identity facts
ruff.toml cousinrea-ruff-toml
isort cousinrea-isort-config
Evidence binderrea-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).

Sources