Skip to content

Commit

Permalink
Add noqa to break line break
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ptomasula committed Jul 19, 2024
1 parent caf374c commit 7934bf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygeoapi/starlette_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ async def __call__(self, scope: Scope,
# CORS: optionally enable from config.
if CONFIG['server'].get('cors', False):
from starlette.middleware.cors import CORSMiddleware
APP.add_middleware(CORSMiddleware, allow_origins=['*'], allow_methods=['*'])
APP.add_middleware(CORSMiddleware, allow_origins=['*'], allow_methods=['*']) # noqa

try:
OGC_SCHEMAS_LOCATION = Path(CONFIG['server']['ogc_schemas_location'])
Expand Down

0 comments on commit 7934bf6

Please sign in to comment.