diff --git a/hy/macros.py b/hy/macros.py index 43e4fb0..200546c 100644 --- a/hy/macros.py +++ b/hy/macros.py @@ -54,7 +54,8 @@ def process(tree): return obj if isinstance(tree, HyList): - obj = HyList([process(x) for x in tree]) + obj = HyList([process(x) for x in tree]) # NOQA + # flake8 thinks we're redefining from 52. obj.replace(tree) return obj diff --git a/site/shim.py b/site/shim.py index c213f9b..be23481 100644 --- a/site/shim.py +++ b/site/shim.py @@ -36,7 +36,7 @@ def route_macro(tree): @macro("post_route") -def route_macro(tree): +def post_route_macro(tree): return router(tree, rkwargs=HyList([HyString("POST")]))