Пример #1
0
 def report_unused_cycle_suppressions(self, reporter):
     """Reports unused cycle suppressions."""
     for module in self.get_modules():
         for dep in module.get_dependencies():
             if not dep.suppression_used:
                 reporter.cyclic_issue(
                     "unused cycle suppression: {0} -> {1}".format(
                         module.get_name()[7:],
                         dep.get_other_module().get_name()[7:]))
Пример #2
0
 def report_unused_cycle_suppressions(self, reporter):
     """Reports unused cycle suppressions."""
     for module in self.get_modules():
         for dep in module.get_dependencies():
             if not dep.suppression_used:
                 reporter.cyclic_issue(
                     "unused cycle suppression: {0} -> {1}".format(
                         module.get_name()[7:], dep.get_other_module().get_name()[7:]
                     )
                 )