{
  "id": "ruff-configuration-table",
  "kind": "table",
  "slug": "ruff-configuration",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/ruff-configuration/",
  "title": "Configure Ruff in pyproject.toml or ruff.toml",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "pyproject.toml",
      "source": "Ruff docs",
      "detail": "Settings under [tool.ruff]"
    },
    {
      "name": "ruff.toml or .ruff.toml",
      "source": "Ruff docs",
      "detail": "A Ruff-only config file"
    },
    {
      "name": "[tool.ruff.lint]",
      "source": "Ruff docs",
      "detail": "Rule selection, ignore, extend-select"
    },
    {
      "name": "[tool.ruff.lint.per-file-ignores]",
      "source": "Ruff docs",
      "detail": "Ignores for named files or globs"
    },
    {
      "name": "[tool.ruff.format]",
      "source": "Ruff docs",
      "detail": "Formatter settings"
    }
  ],
  "related_slugs": [
    "python-typing-annotations",
    "python-venv",
    "python-pathlib"
  ],
  "license": "CC-BY-4.0",
  "source_license": "MIT (Ruff docs); MIT (mypy docs); 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."
}