Fix pylint false positive

This commit is contained in:
Christophe Bedard 2019-08-02 14:30:22 +02:00
parent 5bd04b3a49
commit 98c0af53dc

View file

@ -129,7 +129,7 @@ class EventHandler():
:return: the processor object after processing
"""
assert cls != EventHandler, 'only call process() from inheriting classes'
handler_object = cls(**kwargs) # pylint: disable=no-value-for-parameter
handler_object = cls(**kwargs) # pylint: disable=all
processor = Processor(handler_object, **kwargs)
processor.process(events)
return handler_object