[3/N][Easy] fix typo for usort config in pyproject.toml (kown -> known): sort torchgen (#127124)

The `usort` config in `pyproject.toml` has no effect due to a typo. Fixing the typo make `usort` do more and generate the changes in the PR. Except `pyproject.toml`, all changes are generated by `lintrunner -a --take UFMT --all-files`.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/127124
Approved by: https://github.com/Skylion007
ghstack dependencies: #127122, #127123
This commit is contained in:
Xuehai Pan
2024-05-25 16:21:08 +00:00
committed by PyTorch MergeBot
parent 0dae2ba5bd
commit 35ea5c6b22
15 changed files with 26 additions and 19 deletions

View File

@ -38,6 +38,7 @@ from collections import defaultdict
from typing import Callable, Dict, Iterable, List, Optional, Sequence, Set, Tuple
import yaml
from torchgen.api import cpp
from torchgen.api.python import (
arg_parser_output_exprs,