{
  "id": "ruff-format-table",
  "kind": "table",
  "slug": "ruff-format",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/ruff-format/",
  "title": "Format Python files with ruff format, following PEP 8 indentation",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "ruff format",
      "source": "Ruff docs",
      "detail": "Primary entrypoint to the formatter"
    },
    {
      "name": "drop-in replacement",
      "source": "Ruff docs",
      "detail": "Designed as a replacement for Black"
    },
    {
      "name": "4 spaces",
      "source": "Ruff docs",
      "detail": "Indentation level in PEP 8"
    },
    {
      "name": "hanging indent",
      "source": "Ruff docs",
      "detail": "One way to align continuation lines"
    }
  ],
  "related_slugs": [
    "python-f-strings",
    "python-pathlib",
    "python-list-comprehensions"
  ],
  "license": "CC-BY-4.0",
  "source_license": "MIT (Ruff docs); Public-Domain (Python PEPs); prose restates cited source lines in own words",
  "as_of": "2026-11-19",
  "status": "deep-draft-20261119",
  "note": "Restated from the note's GREEN sources; check those sources before relying on a value."
}