pytorch/torch/nn/modules
Maggie Moss c7eee49525 Fix pyrefly ignores 1/n (#166239)
First diff adjusting the syntax for pyrefly: ignore suppressions so they only hide one class of type error.

Test:
lintrunner
pyrefly check

Pull Request resolved: https://github.com/pytorch/pytorch/pull/166239
Approved by: https://github.com/oulgen
2025-10-26 00:44:10 +00:00
..
__init__.py
_functions.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
activation.py [2/N] Use "is" in python type comparison (#165142) 2025-10-10 15:36:44 +00:00
adaptive.py [BE] Make torch.nn.modules.* satisfy the docs coverage test (#158491) 2025-07-25 22:03:55 +00:00
batchnorm.py Fix pyrefly ignores 1/n (#166239) 2025-10-26 00:44:10 +00:00
channelshuffle.py [BE] Make torch.nn.modules.* satisfy the docs coverage test (#158491) 2025-07-25 22:03:55 +00:00
container.py Clean up unused Pyrefly suppressions (#166178) 2025-10-25 05:32:21 +00:00
conv.py Clean up unused Pyrefly suppressions (#166178) 2025-10-25 05:32:21 +00:00
distance.py [BE] Make torch.nn.modules.* satisfy the docs coverage test (#158491) 2025-07-25 22:03:55 +00:00
dropout.py [BE] Make torch.nn.modules.* satisfy the docs coverage test (#158491) 2025-07-25 22:03:55 +00:00
flatten.py [BE] Make torch.nn.modules.* satisfy the docs coverage test (#158491) 2025-07-25 22:03:55 +00:00
fold.py [BE] Make torch.nn.modules.* satisfy the docs coverage test (#158491) 2025-07-25 22:03:55 +00:00
instancenorm.py [BE][Ez]: Auto add return type annotations for methods in torch/nn/module (#157925) 2025-07-09 21:12:25 +00:00
lazy.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
linear.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
loss.py [2/N] Apply ruff UP035 check in torch files (#164054) 2025-09-29 03:35:32 +00:00
module.py Fix pyrefly ignores 1/n (#166239) 2025-10-26 00:44:10 +00:00
normalization.py typo (#156560) 2025-07-28 15:40:06 +00:00
padding.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
pixelshuffle.py [BE] Make torch.nn.modules.* satisfy the docs coverage test (#158491) 2025-07-25 22:03:55 +00:00
pooling.py Remove unnecessary noqa suppressions (#164106) 2025-10-18 04:52:41 +00:00
rnn.py Fix error, remove file from pyrefly checking (#165094) 2025-10-10 04:34:51 +00:00
sparse.py [BE][PYFMT] migrate PYFMT for {torch,test}/{nn,optim}/** to ruff format (#144548) 2025-06-14 11:27:04 +00:00
transformer.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
upsampling.py [BE] Make torch.nn.modules.* satisfy the docs coverage test (#158491) 2025-07-25 22:03:55 +00:00
utils.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00