Enable Mypy Check in torch/_inductor/triton_heuristics.py (#107135)
Fixes #105230
```shell
$ lintrunner init && lintrunner -a torch/_inductor/triton_heuristics.py
...
ok No lint issues.
Successfully applied all patches.
```
```shell
$ mypy torch/_inductor/triton_heuristics.py
Success: no issues found in 1 source file
```
Pull Request resolved: https://github.com/pytorch/pytorch/pull/107135
Approved by: https://github.com/ezyang