I want to suppress the "Method names should comply with a naming convention" rule in my python code, but only in the case when I'm overriding a method from a Qt class.
For example: inheriting from QWidget
and overriding the resizeEvent()
method (which is not compliant with the rule).
According to the FAQ there are //NOSONAR
and @SuppressWarnings
(which will fit my needs) but these are only available for java.
Is there some special keyword for this or should I do something like creating new custom rule?