Enable Mypy Checking in torch/_inductor/dependencies.py (#107675)
Fixes #105230
Summary:
As suggested in https://github.com/pytorch/pytorch/issues/105230 mypy checking is enabled in torch/_inductor/dependencies.py
After Fix:
mypy --follow-imports=skip torch/_inductor/dependencies.py Success: no issues found in 1 source file
Pull Request resolved: https://github.com/pytorch/pytorch/pull/107675
Approved by: https://github.com/jansel