ruff/crates/ruff_linter/src
Dylan d61747093c
[ruff] Rename RUF007 to zip-instead-of-pairwise (#12399)
## Summary

<!-- What's the purpose of the change? What does it do, and why? -->

Renames the rule
[RUF007](https://docs.astral.sh/ruff/rules/pairwise-over-zipped/) from
`pairwise-over-zipped` to `zip-instead-of-pairwise`. This closes #12397.

Specifically, in this PR:

- The file containing the rule was renamed
- The struct was renamed
- The function implementing the rule was renamed

## Testing

<!-- How was it tested? -->

- `cargo test`
- Docs re-built locally and verified that new rule name is displayed.
(Screenshots below).

<img width="939" alt="New rule name in rule summary"
src="https://github.com/user-attachments/assets/bf638bc9-1b7a-4675-99bf-e4de88fec167">

<img width="805" alt="New rule name in rule details"
src="https://github.com/user-attachments/assets/6fffd745-2568-424a-84e5-f94a41351022">
2024-07-18 19:26:27 -04:00
..
checkers [ruff] Rename RUF007 to zip-instead-of-pairwise (#12399) 2024-07-18 19:26:27 -04:00
comments Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
cst Wrap expressions in parentheses when negating (#10346) 2024-03-11 18:20:55 -04:00
docstrings [pydocstyle-D405] Allow using parameters as a sub-section header (#9894) 2024-02-08 21:54:32 -05:00
fix Use CompactString for Identifier (#12101) 2024-07-01 10:06:02 +02:00
importer Use CompactString for Identifier (#12101) 2024-07-01 10:06:02 +02:00
message Omit code frames for fixes with empty ranges (#12304) 2024-07-12 15:21:28 +00:00
registry Upgrade to Rust 1.79 (#11875) 2024-06-17 07:15:10 +01:00
rules [ruff] Rename RUF007 to zip-instead-of-pairwise (#12399) 2024-07-18 19:26:27 -04:00
settings Make requires-python inference robust to == (#12091) 2024-06-28 09:38:17 -04:00
snapshots [ruff] Implement redirected-noqa (RUF101) (#11052) 2024-04-27 02:08:11 +00:00
codes.rs [ruff] Rename RUF007 to zip-instead-of-pairwise (#12399) 2024-07-18 19:26:27 -04:00
directives.rs Enable token-based rules on source with syntax errors (#11950) 2024-07-02 08:57:46 +00:00
doc_lines.rs Enable token-based rules on source with syntax errors (#11950) 2024-07-02 08:57:46 +00:00
fs.rs Struct not tuple for compiled per-file ignores (#10864) 2024-04-11 13:47:57 -06:00
lib.rs Remove E999 as a rule, disallow any disablement methods for syntax error (#11901) 2024-06-27 13:44:11 +02:00
line_width.rs Upgrade to Rust 1.78 (#11260) 2024-05-03 12:46:21 +00:00
linter.rs Disable auto-fix when source has syntax errors (#12134) 2024-07-02 14:22:51 +05:30
logging.rs Replace LALRPOP parser with hand-written parser (#10036) 2024-04-18 17:57:39 +05:30
noqa.rs Remove E999 as a rule, disallow any disablement methods for syntax error (#11901) 2024-06-27 13:44:11 +02:00
packaging.rs Nested namespace packages support (#10541) 2024-03-24 22:53:32 -04:00
pyproject_toml.rs Update pyproject-toml to 0.8 (#8351) 2023-10-30 10:05:37 +00:00
registry.rs Re-code flake8-trio and flake8-async rules to match upstream (#10416) 2024-06-27 13:44:11 +02:00
renamer.rs Remove BindingKind::ComprehensionVar (#12347) 2024-07-16 11:18:04 -04:00
rule_redirects.rs Re-code flake8-trio and flake8-async rules to match upstream (#10416) 2024-06-27 13:44:11 +02:00
rule_selector.rs Added ignoring deprecated rules for --select=ALL (#10497) 2024-06-27 13:44:11 +02:00
source_kind.rs Handle non-printable characters in diff view (#11687) 2024-06-08 06:22:03 +00:00
test.rs Disable auto-fix when source has syntax errors (#12134) 2024-07-02 14:22:51 +05:30
text_helpers.rs Handle non-printable characters in diff view (#11687) 2024-06-08 06:22:03 +00:00
upstream_categories.rs Fix pylint upstream categories not showing in docs (#10441) 2024-03-18 01:27:39 +00:00