Skip to content

Commit fc0a681

Browse files
committed
mypy plugin typing fixed.
1 parent bb1b697 commit fc0a681

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pydantic_xml/mypy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ def get_metaclass_hook(self, fullname: str) -> Optional[Callable[[ClassDefContex
2121
return self._pydantic_model_metaclass_marker_callback
2222
return super().get_metaclass_hook(fullname)
2323

24-
def _pydantic_model_class_maker_callback(self, ctx: ClassDefContext) -> bool:
24+
def _pydantic_model_class_maker_callback(self, ctx: ClassDefContext) -> None:
2525
transformer = PydanticXmlModelTransformer(ctx.cls, ctx.reason, ctx.api, self.plugin_config)
26-
return transformer.transform()
26+
transformer.transform()
2727

2828

2929
class PydanticXmlModelTransformer(PydanticModelTransformer):

0 commit comments

Comments
 (0)