undefined-name (F821)
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 thebuiltins
namespace.