)]}'
{
  "commit": "3bf85217386806b0f68bf8857b61379ae2f6ad1e",
  "tree": "00a30a331be9d16fe28b99e27c507f15508d06c0",
  "parents": [
    "dfea43ff96976435ee5f37d1294cca792b8f26cf"
  ],
  "author": {
    "name": "Ilya Priven",
    "email": "ilya.konstantinov@gmail.com",
    "time": "Thu Jul 13 06:42:39 2023 -0700"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Thu Jul 13 14:42:39 2023 +0100"
  },
  "message": "Consistently avoid type-checking unreachable code (#15386)\n\n- On module-level, now we\u0027ll skip remaining statements once unreachable.\r\nThis brings the behavior in line with function-level behavior.\r\n- For module and function code, if `--warn-unreachable` is enabled,\r\nwe\u0027ll emit an error, just once, on the first unreachable statement\r\nthat\u0027s not a no-op statement. Previously a no-op statement would not\r\nhave the \"Unreachable statement\" error, but the subsequent statements\r\ndid not have the error either, e.g.\r\n  ```diff\r\n   raise Exception\r\n   assert False  # no error since it\u0027s a \"no-op statement\"\r\n  -foo \u003d 42\r\n  +foo \u003d 42  # E: Unreachable statement\r\n   spam \u003d \"ham\"  # no error since we warn just once\r\n  ```",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "71c9746ce24f02fa3abfcfc1200b26e149f69744",
      "old_mode": 33188,
      "old_path": "mypy/checker.py",
      "new_id": "e2ff8a6ec2a49c89c71541b4f6bebf0af4b300fc",
      "new_mode": 33188,
      "new_path": "mypy/checker.py"
    },
    {
      "type": "modify",
      "old_id": "fd0eb5022236d5a86f5a48d3095b91cf830bd1b6",
      "old_mode": 33188,
      "old_path": "mypyc/test-data/run-misc.test",
      "new_id": "c40e0fc55f0eb15b44343abf393e2cbf0e7eddba",
      "new_mode": 33188,
      "new_path": "mypyc/test-data/run-misc.test"
    },
    {
      "type": "modify",
      "old_id": "69227e50f6fae5b3188719e419cd529da40f5039",
      "old_mode": 33188,
      "old_path": "test-data/unit/check-classes.test",
      "new_id": "957eb9214d7c6b1e52556d1a1bf6782c62b8c20f",
      "new_mode": 33188,
      "new_path": "test-data/unit/check-classes.test"
    },
    {
      "type": "modify",
      "old_id": "2e4473c2716b9eb9f45868e14545a2c8433495a8",
      "old_mode": 33188,
      "old_path": "test-data/unit/check-fastparse.test",
      "new_id": "132a34503b89603516d538e9ab01c459dcfa24c9",
      "new_mode": 33188,
      "new_path": "test-data/unit/check-fastparse.test"
    },
    {
      "type": "modify",
      "old_id": "5203b0828122ef1a0ee10ea933cbcb741ff5ee47",
      "old_mode": 33188,
      "old_path": "test-data/unit/check-incremental.test",
      "new_id": "cd009887a5b5bc2a0e27a55282c46926ee6317e7",
      "new_mode": 33188,
      "new_path": "test-data/unit/check-incremental.test"
    },
    {
      "type": "modify",
      "old_id": "13cfec46eeabe91862defed9941a37eb81c88b32",
      "old_mode": 33188,
      "old_path": "test-data/unit/check-inference-context.test",
      "new_id": "59f5154909648765898c1419111f6761c45b2280",
      "new_mode": 33188,
      "new_path": "test-data/unit/check-inference-context.test"
    },
    {
      "type": "modify",
      "old_id": "1e945d0af27d30cd6144849b2597622b2c64641a",
      "old_mode": 33188,
      "old_path": "test-data/unit/check-native-int.test",
      "new_id": "1129512694f4d9020f1f1ddcfd7ee8c33dc962f0",
      "new_mode": 33188,
      "new_path": "test-data/unit/check-native-int.test"
    },
    {
      "type": "modify",
      "old_id": "8a232d52968ff238f80dfdb8cd1633d3402f8e5a",
      "old_mode": 33188,
      "old_path": "test-data/unit/check-statements.test",
      "new_id": "023e2935a15818a57777882e7f75337424504976",
      "new_mode": 33188,
      "new_path": "test-data/unit/check-statements.test"
    },
    {
      "type": "modify",
      "old_id": "e1fae05eac6372bdb3c187c0a961c04fa6783204",
      "old_mode": 33188,
      "old_path": "test-data/unit/check-typevar-tuple.test",
      "new_id": "1024f90ee6b7dcdd14ad5c55e17cc285cf9c38b7",
      "new_mode": 33188,
      "new_path": "test-data/unit/check-typevar-tuple.test"
    },
    {
      "type": "modify",
      "old_id": "b2fd440434356144691b29c1c0857dd81178cbe1",
      "old_mode": 33188,
      "old_path": "test-data/unit/check-unreachable-code.test",
      "new_id": "1db2a16e2e1c79a627ba7581f523c443f12daf81",
      "new_mode": 33188,
      "new_path": "test-data/unit/check-unreachable-code.test"
    },
    {
      "type": "modify",
      "old_id": "7d854bab424c1cb6174ae8a4e0c55ac5dbc739a8",
      "old_mode": 33188,
      "old_path": "test-data/unit/fine-grained.test",
      "new_id": "11a8f03590f798875783f8218f01e2dc4a52c52b",
      "new_mode": 33188,
      "new_path": "test-data/unit/fine-grained.test"
    }
  ]
}
