)]}'
{
  "commit": "f12269f23baee5338f4558c7b00bc8fb8737cb75",
  "tree": "fa6bd3f624183e09288946f374bf41e01d48031b",
  "parents": [
    "467766517751fa0d1db3f01ee3e3d718a0cb82e2"
  ],
  "author": {
    "name": "Keith Smiley",
    "email": "keithbsmiley@gmail.com",
    "time": "Mon Jul 14 05:31:31 2025 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Jul 14 08:31:31 2025 -0400"
  },
  "message": "Fix mypy linting non-python source files with custom rules (#105)\n\nIf you write a custom rule that is designed to interop with python rules\nyou need to return PyInfo, in this case rules_mypy was attempting to\nlint the source files of the target even if they were not python. This\nis now scoped to only `.py` and `.pyi` files.\n\nOne example case for this is if you write a custom rule that creates a\npython native extension and you want to be able to add it to the `deps`\nof python rules.",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "a8eac7c19193c09ed07eeb30beadac649f3e28ff",
      "new_mode": 33188,
      "new_path": "examples/demo/custom_rule/BUILD.bazel"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "64a85b03f2578313eb1a2200bf6cdc0ae1457617",
      "new_mode": 33188,
      "new_path": "examples/demo/custom_rule/foo.bzl"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "22cfb2b85d407e0e0eab39434d09ee967a0558de",
      "new_mode": 33188,
      "new_path": "examples/demo/custom_rule/foo.txt"
    },
    {
      "type": "modify",
      "old_id": "35467b764e1fc0492ccf8222f4404fd5da68f820",
      "old_mode": 33188,
      "old_path": "mypy/private/mypy.bzl",
      "new_id": "b788973fe49efc5441b980da9f0b04adee999dcf",
      "new_mode": 33188,
      "new_path": "mypy/private/mypy.bzl"
    }
  ]
}
