pytorch/torch/testing
Yuanyuan Chen c79dfdc655 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 06:40:12 +00:00
..
_internal Enable all PIE rules on ruff (#165814) 2025-10-18 06:40:12 +00:00
__init__.py Add pyrefly suppressions 2/n (#164513) 2025-10-03 02:46:13 +00:00
_comparison.py [1/N] Add strict parameter to Python zip calls (#165531) 2025-10-18 05:26:33 +00:00
_creation.py [BE][PYFMT] migrate PYFMT for torch/[p-z]*/ to ruff format (#144552) 2025-08-07 00:09:56 +00:00
_utils.py Fix code descriptions in the test package. (#148145) 2025-03-04 19:14:41 +00:00