mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Update clang-tidy install in CONTRIBUTING.md (#101247)
Updated clang-tidy install to reflect install command in github actions workflowce76670c6f/.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:
committed by
PyTorch MergeBot
parent
9946499228
commit
6db21a9cf8
@ -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).
|
||||
|
||||
|
Reference in New Issue
Block a user