Undefined name name in __all__ (F822)
An undefined module was specified in the __all__
list. Ensure that it is specified in your file or remove the variable from __all__
.
Anti-pattern
from foo import bar
__all__ = ['bar', 'baz'] # baz is undefined