pytorch/torch/_refs
Yuanyuan Chen fdab48a7c1 Enable all PIE rules on ruff (#165814)
This PR enables all PIE rules on ruff, there are already some enabled rules from this family, the new added rules are
```
PIE796  Enum contains duplicate value: {value}
PIE808  Unnecessary start argument in range
```

Pull Request resolved: https://github.com/pytorch/pytorch/pull/165814
Approved by: https://github.com/ezyang
2025-10-18 07:36:18 +00:00
..
linalg [Fix] missing lambda in torch._check (#165043) 2025-10-10 17:11:55 +00:00
nn Pyrefly suppressions 4/n (#164615) 2025-10-06 16:14:36 +00:00
special Pyrefly suppressions 4/n (#164615) 2025-10-06 16:14:36 +00:00
__init__.py Enable all PIE rules on ruff (#165814) 2025-10-18 07:36:18 +00:00
_conversions.py [BE][Easy][14/19] enforce style for empty lines in import segments in torch/_[a-c]*/ and torch/_[e-h]*/ and torch/_[j-z]*/ (#129765) 2024-07-31 10:42:50 +00:00
fft.py Pyrefly suppressions 6/n (#164877) 2025-10-08 02:30:57 +00:00