mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
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 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _node_metadata_hook.py | ||
| add_runtime_assertions_for_constraints_pass.py | ||
| collect_tracepoints_pass.py | ||
| constant_folding.py | ||
| functionalize_side_effectful_ops_pass.py | ||
| insert_custom_op_guards.py | ||
| lift_constants_pass.py | ||
| remove_runtime_assertions.py | ||
| replace_autocast_with_hop_pass.py | ||
| replace_quantized_ops_with_standard_ops_pass.py | ||
| replace_set_grad_with_hop_pass.py | ||
| replace_view_ops_with_view_copy_ops_pass.py | ||
| replace_with_hop_pass_util.py | ||