pytorch/torch/_export/passes
Maggie Moss 086dec3235 Pyrefly suppressions 6/n (#164877)
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 (5,064 ignored)

Only four directories left to enable

Pull Request resolved: https://github.com/pytorch/pytorch/pull/164877
Approved by: https://github.com/oulgen
2025-10-08 02:30:57 +00:00
..
__init__.py
_node_metadata_hook.py Pyrefly suppressions 6/n (#164877) 2025-10-08 02:30:57 +00:00
add_runtime_assertions_for_constraints_pass.py [5/N] Apply ruff UP035 rule (#164423) 2025-10-02 07:31:11 +00:00
collect_tracepoints_pass.py
constant_folding.py [5/N] Apply ruff UP035 rule (#164423) 2025-10-02 07:31:11 +00:00
functionalize_side_effectful_ops_pass.py Improve torch.ops typing (#154555) 2025-06-22 15:52:27 +00:00
insert_custom_op_guards.py Remove unnecessary list comprehensions (#164103) 2025-09-30 03:56:54 +00:00
lift_constants_pass.py [BE][2/16] fix typos in torch/ (torch/_*/) (#156312) 2025-07-12 05:47:06 +00:00
remove_runtime_assertions.py
replace_autocast_with_hop_pass.py [BE][2/16] fix typos in torch/ (torch/_*/) (#156312) 2025-07-12 05:47:06 +00:00
replace_quantized_ops_with_standard_ops_pass.py Pyrefly suppressions 4/n (#164615) 2025-10-06 16:14:36 +00:00
replace_set_grad_with_hop_pass.py
replace_view_ops_with_view_copy_ops_pass.py pyfmt lint torch/_export/passes/replace_view_ops_with_view_copy_ops_pass.py (#154488) 2025-05-28 17:07:15 +00:00
replace_with_hop_pass_util.py Pyrefly suppressions 4/n (#164615) 2025-10-06 16:14:36 +00:00