diff --git a/hy/compilers/pyast.py b/hy/compilers/pyast.py index 77fe77b..8419e67 100644 --- a/hy/compilers/pyast.py +++ b/hy/compilers/pyast.py @@ -67,10 +67,12 @@ class HyASTCompiler(HyCompiler): ret.append(ast.Return(value=el, lineno=el.lineno, col_offset=el.col_offset)) - ret += [ast.Expr(value=el, - lineno=el.lineno, - col_offset=el.col_offset - ) if not isinstance(el, ast.stmt) else el for el in tree] + ret += [ + ast.Expr(value=el, + lineno=el.lineno, + col_offset=el.col_offset) + if not isinstance(el, ast.stmt) else el for el in tree # NOQA + ] # for some stupid reason, flake8 thinks i'm redefining. ^^^^ ret.reverse() return ret