pytorch/torch/ao/quantization
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
..
backend_config [2/N] More ruff SIM fixes (#165031) 2025-10-14 14:22:54 +00:00
experimental Enable all PIE rules on ruff (#165814) 2025-10-18 06:40:12 +00:00
fx Enable all PIE rules on ruff (#165814) 2025-10-18 06:40:12 +00:00
pt2e [2/N] More ruff SIM fixes (#165031) 2025-10-14 14:22:54 +00:00
quantizer [2/N] More ruff SIM fixes (#165031) 2025-10-14 14:22:54 +00:00
__init__.py Add pyrefly suppressions (#164748) 2025-10-07 17:31:18 +00:00
_correct_bias.py [BE]: Apply ruff PERF403 to use dict comprehensions more often (#149257) 2025-03-18 00:46:07 +00:00
_equalize.py [BE][PYFMT] migrate PYFMT for torch/ao/ to ruff format (#148185) 2025-06-14 16:47:04 +00:00
_learnable_fake_quantize.py mypy 1.16.0 (#155821) 2025-06-14 18:18:43 +00:00
fake_quantize.py [2/N] Use "is" in python type comparison (#165142) 2025-10-10 15:36:44 +00:00
fuse_modules.py
fuser_method_mappings.py [2/N] More ruff SIM fixes (#165031) 2025-10-14 14:22:54 +00:00
observer.py [2/N] More ruff SIM fixes (#165031) 2025-10-14 14:22:54 +00:00
pattern.md
qconfig_mapping.py [4/N] Apply ruff UP035 rule to python code (#164206) 2025-10-01 19:05:53 +00:00
qconfig.py Add pyrefly suppressions (#164748) 2025-10-07 17:31:18 +00:00
quant_type.py
quantization_mappings.py [2/N] More ruff SIM fixes (#165031) 2025-10-14 14:22:54 +00:00
quantize_fx.py [BE][13/16] fix typos in torch/ (torch/ao/) (#156603) 2025-06-29 04:34:04 +00:00
quantize_jit.py [BE][PYFMT] migrate PYFMT for torch/ao/ to ruff format (#148185) 2025-06-14 16:47:04 +00:00
quantize_pt2e.py [BE][13/16] fix typos in torch/ (torch/ao/) (#156603) 2025-06-29 04:34:04 +00:00
quantize.py [1/N] Simplify "in" operation for containers of a single item (#164224) 2025-09-30 19:59:43 +00:00
stubs.py [BE][PYFMT] migrate PYFMT for torch/ao/ to ruff format (#148185) 2025-06-14 16:47:04 +00:00
utils.py [4/N] Apply ruff UP035 rule to python code (#164206) 2025-10-01 19:05:53 +00:00