REA Ruff config notes (unofficial)

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

ruff.toml / [tool.ruff] pins Python lint/format policy identity. In REA 6.7.x, treat those fields as Evidence beside Python/package routes — complementing rea-pre-commit-config.

Mental model

  1. Authorize ruff.toml or pyproject.toml [tool.ruff] (+ trees you hold).
  2. Quote selected select/ignore/line-length/target-version pins you actually see.
  3. Hook inventory → rea-pre-commit-config; Poetry pyproject → rea-poetry-pyproject; pip-tools → rea-pip-tools.
  4. Do not invent ruff diagnostics REA never ran.

Minimal path

# authorized ruff.toml or pyproject.toml [tool.ruff]
# quote selected select/ignore pins into case notes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_ruff .

Compare

ArtifactHonest posture
ruff.toml / [tool.ruff]Ruff policy facts
pre-commit cousinrea-pre-commit-config
Poetry / pip-toolsrea-poetry-pyproject / rea-pip-tools
tox cousinrea-tox-notes

Scope we will not cover

  • No inventing inspect_ruff / automatic lint SaaS crawlers.
  • No PyPI credential theft.
  • No pirate redistribution of paid Python packages.
  • No bypass framing for security lint rules (bypass only as refusals).

RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.

FAQ

How is this different from rea-pre-commit-config?

rea-pre-commit-config covers hook inventory. This page zooms on Ruff lint/format config identity as Evidence — it does not overwrite that page.

Is there inspect_ruff in 6.7.0?

Not assumed. Quote ruff.toml / [tool.ruff] fields you actually open. Do not invent inspect_ruff.

Does REA run ruff check / talk to Astral services?

No. Local trees only. No credential theft.

ruff.toml vs pyproject.toml [tool.ruff]?

Quote the file you actually opened; label Evidence by that artifact. See also rea-poetry-pyproject.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources