pytorch/test/onnx
Yuanyuan Chen fdab48a7c1 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 07:36:18 +00:00
..
assets
expect
exporter [ONNX] Support renaming in dynamic axes to shapes conversion (#165769) 2025-10-18 01:11:20 +00:00
internal [ONNX] Refactor torchscript based exporter (#161323) 2025-09-02 16:10:30 +00:00
model_defs PEP585 update - test (#145176) 2025-01-22 04:48:28 +00:00
ops [ONNX] Fix rotary_embedding_23 implementation (#162865) 2025-09-16 03:30:05 +00:00
torchlib [ONNX] Remove common imports from torchlib (#165156) 2025-10-17 03:25:34 +00:00
autograd_helper.py
onnx_test_common.py [1/N] Apply UP035 rule in tests (#163947) 2025-09-29 01:42:01 +00:00
pytorch_test_common.py [ONNX] Clean up the diagnostics module (#149864) 2025-03-26 05:58:32 +00:00
test_autograd_funs.py [ONNX] Refactor torchscript based exporter (#161323) 2025-09-02 16:10:30 +00:00
test_custom_ops.py Fix unused Python variables in test/[e-z]* (#136964) 2024-12-18 23:02:30 +00:00
test_fx_type_promotion.py
test_lazy_import.py
test_models_onnxruntime.py PEP585 update - test (#145176) 2025-01-22 04:48:28 +00:00
test_models_quantized_onnxruntime.py Add __main__ guards to tests (#154716) 2025-06-04 14:38:13 +00:00
test_models.py
test_onnx_opset.py Enable all PIE rules on ruff (#165814) 2025-10-18 07:36:18 +00:00
test_onnxscript_no_runtime.py [ONNX] Default to dynamo export (#159646) 2025-09-02 22:45:55 +00:00
test_onnxscript_runtime.py [ONNX] Refactor torchscript based exporter (#161323) 2025-09-02 16:10:30 +00:00
test_op_consistency.py PEP585 update - test (#145176) 2025-01-22 04:48:28 +00:00
test_pytorch_jit_onnx.py [ONNX] Refactor torchscript based exporter (#161323) 2025-09-02 16:10:30 +00:00
test_pytorch_onnx_onnxruntime_cuda.py
test_pytorch_onnx_onnxruntime.py Enable all SIM rules except disabled ones (#164645) 2025-10-17 07:27:11 +00:00
test_pytorch_onnx_shape_inference.py [ONNX] Default to dynamo export (#159646) 2025-09-02 22:45:55 +00:00
test_symbolic_helper.py [ONNX] Refactor torchscript based exporter (#161323) 2025-09-02 16:10:30 +00:00
test_utility_funs.py [ONNX] Default to dynamo export (#159646) 2025-09-02 22:45:55 +00:00
verify.py Update ruff linter for PEP585 (#147540) 2025-02-22 04:45:17 +00:00