Update clang-tidy install in CONTRIBUTING.md (#101247)

Updated clang-tidy install to reflect install command in github actions workflow ce76670c6f/.github/workflows/lint.yml (L45)

I was following steps to run clang-tidy and got into the above issue. I also think that the following line is outdated: ce76670c6f/CONTRIBUTING.md (L1077)

 but not sure what is the right solution there as there is no `clang_tidy/requirements.txt` file.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/101247
Approved by: https://github.com/subramen, https://github.com/kit1980
This commit is contained in:
arunppsg
2023-06-14 19:57:12 +00:00
committed by PyTorch MergeBot
parent 9946499228
commit 6db21a9cf8

View File

@ -1078,7 +1078,7 @@ To run clang-tidy locally, follow these steps:
1. Install clang-tidy.
We provide custom built binaries which have additional checks enabled. You can install it by running:
```bash
python3 -m tools.linter.install.clang_tidy
python3 -m tools.linter.clang_tidy.generate_build_files
```
We currently only support Linux and MacOS (x86).