Skip to content

Commit dbadce9

Browse files
committed
fix linting
1 parent 3224103 commit dbadce9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

weaver/wps_restapi/colander_extras.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1978,6 +1978,7 @@ def _validate_keyword_schemas(self):
19781978
ExtendedSchemaBase._validate(node)
19791979

19801980
def _bind(self, kw):
1981+
# type: (Dict[str, Any]) -> None
19811982
"""
19821983
Applies the bindings to the children nodes.
19831984
@@ -2005,7 +2006,7 @@ def _bind(self, kw):
20052006
else:
20062007
setattr(self, k, v)
20072008
if getattr(self, "after_bind", None):
2008-
self.after_bind(self, kw)
2009+
self.after_bind(self, kw) # pylint: disable=E1102 # defined as colander SchemaNode attribute in meta-type
20092010

20102011
@abstractmethod
20112012
def _deserialize_keyword(self, cstruct):

weaver/wps_restapi/swagger_definitions.py

-2
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@
114114
NO_DOUBLE_SLASH_PATTERN,
115115
AllOfKeywordSchema,
116116
AnyOfKeywordSchema,
117-
AnyType,
118117
BoundedRange,
119118
CommaSeparated,
120119
EmptyMappingSchema,
@@ -123,7 +122,6 @@
123122
ExtendedFloat as Float,
124123
ExtendedInteger as Integer,
125124
ExtendedMappingSchema,
126-
ExtendedObjectTypeConverter,
127125
ExtendedSchemaNode,
128126
ExtendedSequenceSchema,
129127
ExtendedString as String,

0 commit comments

Comments
 (0)