Use absolute path for local linter (#56633)
Summary:
In some cases the `__file__` here was relative, so in the linter script it ended up setting the repo root to `''`, which `asyncio` doesn't handle.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/56633
Pulled By: driazati
Reviewed By: samestep
Differential Revision: D27922510
fbshipit-source-id: 7e406fa374ec0e5c4917b7c11742b9457dd52668
Author
davidriazati@fb.com