mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
[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:
committed by
PyTorch MergeBot
parent
0dae2ba5bd
commit
35ea5c6b22
@ -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,
|
||||
|
Reference in New Issue
Block a user