Skip to main content
SAICA-KG

Tools

Black

39,000

Opinionated Python code formatter. Removes style argument from PR review.

PreventionPost-generationFully autonomousStableTier 2AEnvironment
Maturity tier details

Computed tier: 2A(raw score 5.34). Effective tier: 2A.

Facets:documented_in=0evaluated_on=0integration_surfaces=1.5paper_citations=0recent_commit=2stars=1.84

Source of truth:pipeline/maturity/score.py

Description

Black is the canonical opinionated Python formatter: it rewrites source to a single, deterministic style with no user-tunable formatting options. By collapsing the design space of "how should this look," Black prevents scope creep in code review (style nits) and removes a whole class of agent-introduced cosmetic diffs. Configuration lives in `pyproject.toml [tool.black]`, which the audit detector now recognises.

Why it's included

Occupies prevention × post_generation × fully_autonomous for scope_creep in the Python lane. Mature workhorse; including it lets the audit detector resolve `[tool.black]` blocks and credit projects for having a deterministic-style gate in place.

Security notes

Standard dev-tool security posture; no special considerations. Black runs locally, parses the AST, and rewrites source — no network access.

Addresses failure modes

  • Scope creep — Actions outside declared task boundary.

Techniques

code-formattingast-rewritingdeterministic-style

View raw YAML on GitHub →