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_convolution.py | ||
| test_dropout.py | ||
| test_embedding.py | ||
| test_init.py | ||
| test_lazy_modules.py | ||
| test_load_state_dict.py | ||
| test_module_hooks.py | ||
| test_multihead_attention.py | ||
| test_packed_sequence.py | ||
| test_parametrization.py | ||
| test_pooling.py | ||
| test_pruning.py | ||