mirror of
https://github.com/astral-sh/ruff
synced 2026-01-20 21:10:48 -05:00
Ignore globals when checking local variable names (#800)
This commit is contained in:
@@ -79,8 +79,10 @@ pub enum BindingKind {
|
||||
Annotation,
|
||||
Argument,
|
||||
Assignment,
|
||||
// TODO(charlie): This seems to be a catch-all.
|
||||
Binding,
|
||||
LoopVar,
|
||||
Global,
|
||||
Builtin,
|
||||
ClassDefinition,
|
||||
Definition,
|
||||
|
||||
Reference in New Issue
Block a user