pytorch/torch/testing/_internal
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
..
codegen
data
distributed Enable all PIE rules on ruff (#165814) 2025-10-18 06:40:12 +00:00
generated
opinfo Enable PLC1802 on ruff (#165813) 2025-10-18 05:44:14 +00:00
optests add the option to disable functionalization in AOTDispatcher (#164577) 2025-10-16 15:44:11 +00:00
test_module
__init__.py
autocast_test_lists.py [1/N] Add strict parameter to Python zip calls (#165531) 2025-10-18 05:26:33 +00:00
autograd_function_db.py
check_kernel_launches.py
common_cuda.py [1/N] Add strict parameter to Python zip calls (#165531) 2025-10-18 05:26:33 +00:00
common_device_type.py Fix IValue from SymBool on big-endian system (#163647) 2025-10-14 15:07:48 +00:00
common_dist_composable.py
common_distributed.py [1/N] Add strict parameter to Python zip calls (#165531) 2025-10-18 05:26:33 +00:00
common_dtype.py
common_fsdp.py [1/N] Add strict parameter to Python zip calls (#165531) 2025-10-18 05:26:33 +00:00
common_jit.py [1/N] Add strict parameter to Python zip calls (#165531) 2025-10-18 05:26:33 +00:00
common_methods_invocations.py Enable all PIE rules on ruff (#165814) 2025-10-18 06:40:12 +00:00
common_mkldnn.py [1/N] Add strict parameter to Python zip calls (#165531) 2025-10-18 05:26:33 +00:00
common_modules.py [1/N] Add strict parameter to Python zip calls (#165531) 2025-10-18 05:26:33 +00:00
common_mps.py [MPS] Add backward pass for embedding_bag (#163931) 2025-10-03 00:48:38 +00:00
common_nn.py Enable all PIE rules on ruff (#165814) 2025-10-18 06:40:12 +00:00
common_optimizers.py Make Adam, AdamW work with nonzero-dim Tensor betas (#149939) 2025-10-06 22:03:25 +00:00
common_pruning.py
common_quantization.py [1/N] Use "is" in python type comparison (#165037) 2025-10-10 12:36:50 +00:00
common_quantized.py MXFP8 grouped GEMM support for torch._scaled_grouped_mm + submodule bump (#162209) 2025-09-06 15:25:30 +00:00
common_subclass.py
common_utils.py [1/N] Add strict parameter to Python zip calls (#165531) 2025-10-18 05:26:33 +00:00
composite_compliance.py [1/N] Add strict parameter to Python zip calls (#165531) 2025-10-18 05:26:33 +00:00
custom_op_db.py
custom_tensor.py [1/N] Add strict parameter to Python zip calls (#165531) 2025-10-18 05:26:33 +00:00
dist_utils.py
dynamo_test_failures.py
fake_config_module.py
fake_config_module2.py
fake_config_module3.py
hop_db.py [dynamo][hop] Introduce Local Map HOP (#161458) 2025-09-17 09:32:38 +00:00
hypothesis_utils.py [Tools] Adapting the Hypothesis library (version 5.x) for use with the PyTorch framework (#163748) 2025-09-25 16:41:50 +00:00
inductor_utils.py [AOTI-FX] Support registering custom FX backends (#162317) 2025-09-06 07:32:03 +00:00
jit_metaprogramming_utils.py
jit_utils.py Enable all PIE rules on ruff (#165814) 2025-10-18 06:40:12 +00:00
logging_tensor.py
logging_utils.py [1/N] Add strict parameter to Python zip calls (#165531) 2025-10-18 05:26:33 +00:00
quantization_torch_package_models.py
static_module.py
subclasses.py [1/N] Use "is" in python type comparison (#165037) 2025-10-10 12:36:50 +00:00
torchbind_impls.py
triton_utils.py Enable all PIE rules on ruff (#165814) 2025-10-18 06:40:12 +00:00
two_tensor.py [1/N] Add strict parameter to Python zip calls (#165531) 2025-10-18 05:26:33 +00:00