better local command for clang-format check (#37127)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/37127
Wrap what we're running in CI in a small script so we can exactly reproduce it locally if ncessary.
Test Plan: Imported from OSS
Reviewed By: malfet
Differential Revision: D21196804
Pulled By: suo
fbshipit-source-id: 45497daae4bafd236a0d1bb1480841f0d9f39262