[BE][Easy] enable PYFMT for torch.fx (#138443)

Reproduce command:

```bash
ghstack checkout https://github.com/pytorch/pytorch/pull/138443
git checkout HEAD~1 torch/
lintrunner -a --take "PYFMT" --all-files
```

Pull Request resolved: https://github.com/pytorch/pytorch/pull/138443
Approved by: https://github.com/ezyang
This commit is contained in:
Xuehai Pan
2024-10-22 00:32:23 +08:00
committed by PyTorch MergeBot
parent 8231180147
commit abbd71d29d
78 changed files with 4403 additions and 2361 deletions

View File

@ -10,6 +10,7 @@ from torch.fx.passes.utils import HolderModule, lift_subgraph_as_module
from .tools_common import NodeList
__all__ = ["getattr_recursive", "setattr_recursive", "Component", "split_by_tags"]