Strict typecheck all files in tools/codegen (#55227)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/55227
This seems to increase the number of typechecked files.
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Test Plan: Imported from OSS
Reviewed By: janeyx99
Differential Revision: D27535373
Pulled By: ezyang
fbshipit-source-id: b36f6f8ce52c76848ed600ca9dd6b0c1de5813ff