pytorch/torch/_library
Maggie Moss c855f8632e Pyrefly suppressions 7/n (#164913)
Adds suppressions to pyrefly will typecheck clean: https://github.com/pytorch/pytorch/issues/163283

Almost there!

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/164913
Approved by: https://github.com/oulgen
2025-10-08 07:27:17 +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 [torchbind] fix fakifying a staitc tensor returns dynamic accidentally (#158607) 2025-07-25 20:55:41 +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 2/n (#164513) 2025-10-03 02:46:13 +00:00
opaque_object.py [opaque_obj] Add set_payload + docs (#163276) 2025-09-22 20:02:29 +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