Skip to content

Commit

Permalink
Merge pull request #78 from hampsterx/pep8_fixes
Browse files Browse the repository at this point in the history
pep8 fixes
  • Loading branch information
ahopkins committed Mar 26, 2019
2 parents 417a93a + 3b457af commit 55fab44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sanic_openapi/openapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def build_spec(app, loop):
for uri, route in app.router.routes_all.items():
if uri.startswith("/swagger") or uri.startswith("/openapi") \
or '<file_uri' in uri:
# TODO: add static flag in sanic routes
# TODO: add static flag in sanic routes
continue

# --------------------------------------------------------------- #
Expand Down Expand Up @@ -156,7 +156,7 @@ def build_spec(app, loop):
tags = {}
for route_spec in route_specs.values():
if route_spec.blueprint and route_spec.blueprint.name in ('swagger', 'openapi'):
# TODO: add static flag in sanic routes
# TODO: add static flag in sanic routes
continue
for tag in route_spec.tags:
tags[tag] = True
Expand Down

0 comments on commit 55fab44

Please sign in to comment.