667 for value, values in id2count.items(): |
667 for value, values in id2count.items(): |
668 if len(values) == 1: |
668 if len(values) == 1: |
669 continue |
669 continue |
670 |
670 |
671 self.__error(node.lineno - 1, node.col_offset, "Y109", |
671 self.__error(node.lineno - 1, node.col_offset, "Y109", |
672 value, unparse(ast.List(elts=values)), |
672 value, unparse(ast.Tuple(elts=values)), |
673 unparse(node)) |
673 unparse(node)) |
674 |
674 |
675 def __check110_111(self, node): |
675 def __check110_111(self, node): |
676 """ |
676 """ |
677 Private method to check if any / all could be used. |
677 Private method to check if any / all could be used. |