SonarOpenCommunity / sonar-cxx

Consider decorating method with @staticmethod PYL-R0201
Performance
Major
6 months ago3 years old
Method doesn't use the class instance and could be converted into a static method
264            self.__verify_rule(rulename)
265        logging.info("verification done")
266
267    def __log_branch(self, fmt, branch, sequence):268        s =' '.join(sequence) + ' < ' + ' < '.join(reversed(branch))
269        logging.info(fmt, s)
270