pytorch/torch/_dynamo/polyfills
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 Fixes for collections.Counter (#159368) 2025-08-15 19:08:21 +00:00
_collections.py Fixes for collections.Counter (#159368) 2025-08-15 19:08:21 +00:00
builtins.py [itertools] Fix accumulate (#158774) 2025-07-31 20:32:02 +00:00
functools.py PEP585 update - torch/_dynamo (#145105) 2025-01-18 20:47:11 +00:00
fx.py [fx] Move map_aggregate to C++ (#148243) 2025-03-10 16:05:53 +00:00
itertools.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
loader.py Fixes for collections.Counter (#159368) 2025-08-15 19:08:21 +00:00
operator.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
os.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
pytree.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
struct.py [struct] Add struct.pack and struct.unpack polyfills (#156977) 2025-07-23 16:12:08 +00:00
sys.py Fixes for CPython int/float tests (#155978) 2025-07-02 15:04:00 +00:00
tensor.py [dynamo][torch-function] Prevent unnecessary __torch_function__ tracing (#153551) 2025-05-15 14:06:17 +00:00