PEP8 fixes

This commit is contained in:
Artur Maciag 2018-04-18 11:49:49 +01:00
parent 4e1a61aace
commit 36f7d4edf4
4 changed files with 6 additions and 6 deletions

View file

@ -1 +1 @@
"""OpenAPI extensions package"""
"""OpenAPI extensions package"""

View file

@ -1 +1 @@
"""OpenAPI X-Model extension package"""
"""OpenAPI X-Model extension package"""

View file

@ -2,7 +2,9 @@
import logging
import warnings
from openapi_core.schema.parameters.enums import ParameterLocation, ParameterStyle
from openapi_core.schema.parameters.enums import (
ParameterLocation, ParameterStyle,
)
from openapi_core.schema.parameters.exceptions import (
MissingRequiredParameter, MissingParameter, InvalidParameterValue,
EmptyParameterValue,
@ -83,7 +85,7 @@ class Parameter(object):
if not self.schema or self.schema.default is None:
raise MissingParameter(
"Missing `{0}` parameter".format(self.name))
raw = self.schema.default
if self.aslist and self.explode:

View file

@ -4,8 +4,6 @@ from functools import lru_cache
from openapi_spec_validator import openapi_v3_spec_validator
from openapi_core.schema.operations.exceptions import InvalidOperation
from openapi_core.schema.servers.exceptions import InvalidServer
from openapi_core.schema.components.factories import ComponentsFactory
from openapi_core.schema.infos.factories import InfoFactory
from openapi_core.schema.paths.generators import PathsGenerator