pytorch/torch/package
Maggie Moss 5f18f240de Add initial suppressions for pyrefly (#164177)
Adds suppressions to pyrefly will typecheck clean: https://github.com/pytorch/pytorch/issues/163283

Test plan:
`python3 scripts/lintrunner.py`
`pyrefly check`

---

Pyrefly check before: https://gist.github.com/maggiemoss/3a0aa0b6cdda0e449cd5743d5fce2c60
After:

```
 INFO Checking project configured at `/Users/maggiemoss/python_projects/pytorch/pyrefly.toml`
 INFO 0 errors (1,063 ignored)
```

Pull Request resolved: https://github.com/pytorch/pytorch/pull/164177
Approved by: https://github.com/Lucaskabela
2025-10-02 20:57:41 +00:00
..
analyze [2/N] Apply ruff UP035 check in torch files (#164054) 2025-09-29 03:35:32 +00:00
__init__.py
_digraph.py
_directory_reader.py
_importlib.py
_mangling.py [BE][PYFMT] migrate PYFMT for torch/[p-z]*/ to ruff format (#144552) 2025-08-07 00:09:56 +00:00
_mock.py
_package_pickler.py Add initial suppressions for pyrefly (#164177) 2025-10-02 20:57:41 +00:00
_package_unpickler.py
_stdlib.py
file_structure_representation.py
find_file_dependencies.py
glob_group.py
importer.py Add initial suppressions for pyrefly (#164177) 2025-10-02 20:57:41 +00:00
mangling.md
package_exporter.py Add initial suppressions for pyrefly (#164177) 2025-10-02 20:57:41 +00:00
package_importer.py Add initial suppressions for pyrefly (#164177) 2025-10-02 20:57:41 +00:00