pytorch/torch/autograd
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
..
_functions Add pyrefly suppressions (3/n) (#164588) 2025-10-03 22:03:03 +00:00
__init__.py Add pyrefly suppressions (3/n) (#164588) 2025-10-03 22:03:03 +00:00
anomaly_mode.py [BE][PYFMT] migrate PYFMT for torch/[a-c]*/ to ruff format (#144554) 2025-07-03 18:56:07 +00:00
forward_ad.py
function.py [4/N] Apply ruff UP035 rule to python code (#164206) 2025-10-01 19:05:53 +00:00
functional.py Add a Additional Example that showcases the usage of torch.autograd.functional.jacobian (#155683) 2025-06-12 19:46:55 +00:00
grad_mode.py Pyrefly suppressions 6/n (#164877) 2025-10-08 02:30:57 +00:00
gradcheck.py [2/N] Fix ruff warnings (#164460) 2025-10-04 03:40:32 +00:00
graph.py Add pyrefly suppressions (3/n) (#164588) 2025-10-03 22:03:03 +00:00
profiler_legacy.py Add pyrefly suppressions (3/n) (#164588) 2025-10-03 22:03:03 +00:00
profiler_util.py Pyrefly suppressions 6/n (#164877) 2025-10-08 02:30:57 +00:00
profiler.py Add pyrefly suppressions (3/n) (#164588) 2025-10-03 22:03:03 +00:00
variable.py