mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-01 14:21:53 +00:00
Allow unused assignments in for loops and unpacking (#163)
This commit is contained in:
parent
97388cefda
commit
43e1f20b28
6 changed files with 86 additions and 19 deletions
|
@ -35,8 +35,10 @@ impl Scope {
|
|||
|
||||
#[derive(Clone, Debug)]
|
||||
pub enum BindingKind {
|
||||
Annotation,
|
||||
Argument,
|
||||
Assignment,
|
||||
Binding,
|
||||
Builtin,
|
||||
ClassDefinition,
|
||||
Definition,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue