mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Update example to the main branch
@ -17,9 +17,9 @@ lintrunner f
|
||||
```
|
||||
to format locally changed files.
|
||||
### How do I run lint on my entire PR/branch?
|
||||
If, say, your PR is targeting `master`, run:
|
||||
If, say, your PR is targeting `main`, run:
|
||||
```
|
||||
lintrunner -m master
|
||||
lintrunner -m main
|
||||
```
|
||||
### How do I run lint on specific files?
|
||||
```
|
||||
|
Reference in New Issue
Block a user