Type-annotate tools/generate_torch_version (#51637)
Summary:
And add it to mypy.ini
Pull Request resolved: https://github.com/pytorch/pytorch/pull/51637
Reviewed By: janeyx99
Differential Revision: D26225123
Pulled By: malfet
fbshipit-source-id: d70d539ae58a14321e82f4592aaa44b3ce6b6358