Derived from the Pyflakes linter.
What it does#
yield from, and
await usages outside of functions.
Why is this bad?#
The use of
yield from, or
await outside of a function will
As an exception,
await is allowed at the top level of a Jupyter notebook