)]}'
{
  "commit": "6dd1756f985816fbd06e13faeac9cda86c6b262e",
  "tree": "1bf10ca8de9c4628fdf5c179a7d9c4759264ef20",
  "parents": [
    "59565095fafae453b15d2a9e8a66d8ca4758b6d5"
  ],
  "author": {
    "name": "pre-commit-ci[bot]",
    "email": "66853113+pre-commit-ci[bot]@users.noreply.github.com",
    "time": "Thu Aug 06 01:26:39 2026 -0400"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Aug 06 01:26:39 2026 -0400"
  },
  "message": "chore(deps): update pre-commit hooks (#6126)\n\n* chore(deps): update pre-commit hooks\n\nupdates:\n- [github.com/pre-commit/mirrors-clang-format: v22.1.5 → v22.1.8](https://github.com/pre-commit/mirrors-clang-format/compare/v22.1.5...v22.1.8)\n- [github.com/astral-sh/ruff-pre-commit: v0.15.20 → v0.16.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.20...v0.16.1)\n- [github.com/pre-commit/mirrors-mypy: v2.1.0 → v2.3.0](https://github.com/pre-commit/mirrors-mypy/compare/v2.1.0...v2.3.0)\n- [github.com/codespell-project/codespell: v2.4.2 → v2.4.3](https://github.com/codespell-project/codespell/compare/v2.4.2...v2.4.3)\n\n* style: pre-commit fixes\n\n* fix: adapt to the ruff 0.16 default rule set\n\nThe hook update pulled in ruff 0.16, which expanded its default rules and\nautofixed `self: S -\u003e S` to `-\u003e Self`. That fix added a runtime\n`typing_extensions` import to setup_helpers.py, which must stay\ndependency-free; it broke every test job whose environment does not supply\nthat package. The import is now guarded by TYPE_CHECKING.\n\nAlso replace the `exec` in docs/conf.py with an importlib module load,\nparenthesize implicit string concatenations in list literals, mark unused\nunpacked variables with a leading underscore, and make noxfile.py\nexecutable to match its shebang.\n\nThe remaining new rules are silenced per-file, with reasons: the chrono\ntests check naive local time on purpose, and the other rules conflict with\nhow the tests are written.\n\nAssisted-by: ClaudeCode:claude-opus-5\n\n---------\n\nCo-authored-by: pre-commit-ci[bot] \u003c66853113+pre-commit-ci[bot]@users.noreply.github.com\u003e\nCo-authored-by: Henry Schreiner \u003chenryfs@princeton.edu\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "aff695437fe313da64a61269424b8437a98a495a",
      "old_mode": 33188,
      "old_path": ".pre-commit-config.yaml",
      "new_id": "1934c2d7b4ce55cdcff9b2327b398c00d13bf52f",
      "new_mode": 33188,
      "new_path": ".pre-commit-config.yaml"
    },
    {
      "type": "modify",
      "old_id": "5f216bffac17b7defce49a85ec8611cb267a000d",
      "old_mode": 33188,
      "old_path": "docs/conf.py",
      "new_id": "481e04c0c86852f0d5fdf43535faa56b8dbdad67",
      "new_mode": 33188,
      "new_path": "docs/conf.py"
    },
    {
      "type": "modify",
      "old_id": "778025229c29ced5c91019720765fc710a90b11e",
      "old_mode": 33188,
      "old_path": "noxfile.py",
      "new_id": "778025229c29ced5c91019720765fc710a90b11e",
      "new_mode": 33261,
      "new_path": "noxfile.py"
    },
    {
      "type": "modify",
      "old_id": "df5e8ee92a43ee6071d8bb19b4d1816f881bc005",
      "old_mode": 33188,
      "old_path": "pybind11/__init__.py",
      "new_id": "3882b2b17b377435bb665f39466c20cccf4360d0",
      "new_mode": 33188,
      "new_path": "pybind11/__init__.py"
    },
    {
      "type": "modify",
      "old_id": "8f42605245c73388df43bd842510240e9020e2e9",
      "old_mode": 33188,
      "old_path": "pybind11/setup_helpers.py",
      "new_id": "66a3eec0d4cb7dbb1d95f4ccf28632824a7513a3",
      "new_mode": 33188,
      "new_path": "pybind11/setup_helpers.py"
    },
    {
      "type": "modify",
      "old_id": "caf0a8b9024184a00e122dfbdab6dc03f9797a9d",
      "old_mode": 33188,
      "old_path": "pyproject.toml",
      "new_id": "cb5d728b3d912ba73c7b846d2c081b2113604b51",
      "new_mode": 33188,
      "new_path": "pyproject.toml"
    },
    {
      "type": "modify",
      "old_id": "e2c18565dc34f9a81f1380b3c5d0d41848757dab",
      "old_mode": 33188,
      "old_path": "tests/extra_python_package/test_files.py",
      "new_id": "164611db34c498ee4e38bbf039e2db45ef883479",
      "new_mode": 33188,
      "new_path": "tests/extra_python_package/test_files.py"
    },
    {
      "type": "modify",
      "old_id": "53dcc09cb934dc456d1f8d4a6e579e2ef2be1956",
      "old_mode": 33188,
      "old_path": "tests/test_enum.py",
      "new_id": "81170c91ddd5915463284582c6d6cf5c20b127fb",
      "new_mode": 33188,
      "new_path": "tests/test_enum.py"
    },
    {
      "type": "modify",
      "old_id": "c52a295b365df496ccbf44f4c34323534765575a",
      "old_mode": 33188,
      "old_path": "tests/test_exceptions.py",
      "new_id": "aeea5d86d33ca8384b1ea31d8e74a0fd78c0d2c1",
      "new_mode": 33188,
      "new_path": "tests/test_exceptions.py"
    },
    {
      "type": "modify",
      "old_id": "857e0b5f732eb0f77e90773f5668006b5d2908fd",
      "old_mode": 33188,
      "old_path": "tests/test_iostream.py",
      "new_id": "8b1199700742fcc0710adb03cb93052962126014",
      "new_mode": 33188,
      "new_path": "tests/test_iostream.py"
    },
    {
      "type": "modify",
      "old_id": "22814aba5a06790ab1e357459292abae7f655ad3",
      "old_mode": 33188,
      "old_path": "tests/test_numpy_dtypes.py",
      "new_id": "ba45d8bf636b66dfffb121daf0234aa3d8a2e112",
      "new_mode": 33188,
      "new_path": "tests/test_numpy_dtypes.py"
    },
    {
      "type": "modify",
      "old_id": "7ee4b78ed503db106858feca7db15c6cadd0ef04",
      "old_mode": 33188,
      "old_path": "tests/test_smart_ptr.py",
      "new_id": "326b768c40050dfa27b51ccb963a2fba784c270e",
      "new_mode": 33188,
      "new_path": "tests/test_smart_ptr.py"
    },
    {
      "type": "modify",
      "old_id": "c75ccb8d240bcc6469500c2c2a3e4fedd41dcae3",
      "old_mode": 33188,
      "old_path": "tests/test_stl.py",
      "new_id": "f3f4ccc736630afccd05f05b978744a155798469",
      "new_mode": 33188,
      "new_path": "tests/test_stl.py"
    },
    {
      "type": "modify",
      "old_id": "617c87b8e0628d859e16a31dfd3d351a4d539f66",
      "old_mode": 33188,
      "old_path": "tests/test_virtual_functions.py",
      "new_id": "c2bba47f78f3143f4b297385840ccca2115da7f3",
      "new_mode": 33188,
      "new_path": "tests/test_virtual_functions.py"
    },
    {
      "type": "modify",
      "old_id": "f872546294ea9f9eb6a9e492232721fe6403f676",
      "old_mode": 33261,
      "old_path": "tools/make_changelog.py",
      "new_id": "8d2c7b08efa906ea4b67ff161d3bf8fd8e322405",
      "new_mode": 33261,
      "new_path": "tools/make_changelog.py"
    }
  ]
}
