Skip to content

Commit 7934bf6

Browse files
committed
Add noqa to break line break
This line was flagged by flake 8 for being 81 characters. I think that this line it more readable as is rather than splitting up into multiple lines.
1 parent caf374c commit 7934bf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygeoapi/starlette_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ async def __call__(self, scope: Scope,
637637
# CORS: optionally enable from config.
638638
if CONFIG['server'].get('cors', False):
639639
from starlette.middleware.cors import CORSMiddleware
640-
APP.add_middleware(CORSMiddleware, allow_origins=['*'], allow_methods=['*'])
640+
APP.add_middleware(CORSMiddleware, allow_origins=['*'], allow_methods=['*']) # noqa
641641

642642
try:
643643
OGC_SCHEMAS_LOCATION = Path(CONFIG['server']['ogc_schemas_location'])

0 commit comments

Comments
 (0)