pytorch/torch/utils/data
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
..
_utils Pyrefly suppressions 6/n (#164877) 2025-10-08 02:30:57 +00:00
datapipes Pyrefly suppressions 6/n (#164877) 2025-10-08 02:30:57 +00:00
__init__.py [BE] enable UFMT in torch.utils.data (#127705) 2024-06-27 23:16:24 +00:00
backward_compatibility.py
dataframes_pipes.ipynb Enable ruff check for torch/utils/data/*.ipynb (#148654) 2025-05-14 06:21:47 +00:00
dataloader.py Pyrefly suppressions 6/n (#164877) 2025-10-08 02:30:57 +00:00
dataset.py [1/N] Fix ruff warnings (#164333) 2025-10-01 16:48:32 +00:00
distributed.py Pyrefly suppressions 6/n (#164877) 2025-10-08 02:30:57 +00:00
graph_settings.py PEP585 update - torch/utils (#145201) 2025-01-21 21:04:10 +00:00
graph.py Pyrefly suppressions 6/n (#164877) 2025-10-08 02:30:57 +00:00
sampler.py Remove data_source argument from Sampler (#163134) 2025-09-21 05:44:41 +00:00
standard_pipes.ipynb [BE][16/16] fix typos in torch/ (torch/utils/) (#156606) 2025-07-02 22:55:29 +00:00
typing.ipynb [BE][16/16] fix typos in torch/ (torch/utils/) (#156606) 2025-07-02 22:55:29 +00:00