change it back

Justin Chu
2024-05-17 20:19:25 -07:00
parent 34dedc7ff7
commit b32331a517

@ -7,7 +7,7 @@
In PyTorch, we enforce lint rules on code in order to help us catch common mistakes and enforce a greater degree of uniformity in our codebase than human reviewers can normally enforce.
PyTorch uses `lintrunner` to execute lints locally and in CI. This provides developers with a single command to run all the linters, and ensures consistency between the CI and local development environments. See [the `lintrunner` repo](https://github.com/pytorch/test-infra/tree/main/tools/lintrunner) for more info.
PyTorch uses `lintrunner` to execute lints locally and in CI. This provides developers with a single command to run all the linters, and ensures consistency between the CI and local development environments. See [the `lintrunner` repo](https://github.com/suo/lintrunner) for more info.
To get started, run the following to install `lintrunner`. Make sure you are at the root of the PyTorch repo:
```
@ -50,4 +50,4 @@ lintrunner --take BLACK,CLANGFORMAT
To see what linter names to pass, consult the [config](https://github.com/pytorch/pytorch/blob/master/.lintrunner.toml). By default, `lintrunner` runs all linters. To skip a linter, use `--skip`.
### I have another question
For more docs run `lintrunner --help`, or see [the `lintrunner` repo](https://github.com/pytorch/test-infra/tree/main/tools/lintrunner).
For more docs run `lintrunner --help`, or see [the `lintrunner` repo](https://github.com/suo/lintrunner).