pytorch/test/optim
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
..
test_lrscheduler.py Enable all PIE rules on ruff (#165814) 2025-10-18 06:40:12 +00:00
test_optim.py [BE][PYFMT] migrate PYFMT for {torch,test}/{nn,optim}/** to ruff format (#144548) 2025-06-14 11:27:04 +00:00
test_swa_utils.py Revert "remove unnecessary sync point in AveragedModel update (#158017)" 2025-09-17 08:02:02 +00:00