pytorch/torch/_library
Maggie Moss 7457d139c5 Add pyrefly suppressions to torch/distributed (7/n) (#165002)
Adds suppressions to pyrefly will typecheck clean: https://github.com/pytorch/pytorch/issues/163283

One more PR after this one.

Test plan:
dmypy restart && python3 scripts/lintrunner.py -a
pyrefly check

step 1: delete lines in the pyrefly.toml file from the project-excludes field
step 2: run pyrefly check
step 3: add suppressions, clean up unused suppressions
before: https://gist.github.com/maggiemoss/4b3bf2037014e116bc00706a16aef199

after:
INFO 0 errors (6,884 ignored)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/165002
Approved by: https://github.com/oulgen
2025-10-09 04:08:25 +00:00
..
__init__.py fix typo in doc and import for torch._library.triton (#144882) 2025-01-17 17:32:12 +00:00
autograd.py [5/N] Apply ruff UP035 rule (#164423) 2025-10-02 07:31:11 +00:00
custom_ops.py [5/N] Apply ruff UP035 rule (#164423) 2025-10-02 07:31:11 +00:00
fake_class_registry.py [opaque_obj] Add make_fx tracing support (#163278) 2025-10-08 09:09:16 +00:00
fake_impl.py [5/N] Apply ruff UP035 rule (#164423) 2025-10-02 07:31:11 +00:00
fake_profile.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
infer_schema.py Add pyrefly suppressions to torch/distributed (7/n) (#165002) 2025-10-09 04:08:25 +00:00
opaque_object.py [opaque_obj] Add make_fx tracing support (#163278) 2025-10-08 09:09:16 +00:00
simple_registry.py [5/N] Apply ruff UP035 rule (#164423) 2025-10-02 07:31:11 +00:00
triton.py [5/N] Apply ruff UP035 rule (#164423) 2025-10-02 07:31:11 +00:00
utils.py Make custom op alias check consistent (#164576) 2025-10-07 02:05:09 +00:00