ruff/crates/ruff_linter
Jelle Zijlstra c80678a1c0
Add new rule RUF059: Unused unpacked assignment (#16449)
Split from F841 following discussion in #8884.

Fixes #8884.

<!--
Thank you for contributing to Ruff! To help us out with reviewing,
please consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title?
- Does this pull request include references to any relevant issues?
-->

## Summary

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

Add a new rule for unused assignments in tuples. Remove similar behavior
from F841.

## Test Plan

Adapt F841 tests and move them over to the new rule.

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

---------

Co-authored-by: Micha Reiser <micha@reiser.io>
2025-03-03 10:51:36 +01:00
..
resources Add new rule RUF059: Unused unpacked assignment (#16449) 2025-03-03 10:51:36 +01:00
src Add new rule RUF059: Unused unpacked assignment (#16449) 2025-03-03 10:51:36 +01:00
Cargo.toml Bump version to Ruff 0.9.9 (#16434) 2025-02-28 10:17:38 +01:00