mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 00:20:18 +01:00
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
|
||
|---|---|---|
| .. | ||
| test_activation_sparsifier.py | ||
| test_composability.py | ||
| test_data_scheduler.py | ||
| test_data_sparsifier.py | ||
| test_kernels.py | ||
| test_parametrization.py | ||
| test_qlinear_packed_params.py | ||
| test_scheduler.py | ||
| test_sparsifier.py | ||
| test_sparsity_utils.py | ||
| test_structured_sparsifier.py | ||