undefined-name (F821)
Added in v0.0.20 · Related issues · View source
Derived from the Pyflakes linter.
What it does
Checks for uses of undefined names.
Why is this bad?
An undefined name is likely to raise NameError at runtime.
Example
Use instead:
Options
target-version: Can be used to configure which symbols Ruff will understand as being available in thebuiltinsnamespace.