diff -r 14470a65a52e -r b5903eaa7a7b eric6/Plugins/CheckerPlugins/CodeStyleChecker/Simplify/SimplifyNodeVisitor.py --- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Simplify/SimplifyNodeVisitor.py Sat Apr 10 12:34:29 2021 +0200 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Simplify/SimplifyNodeVisitor.py Sat Apr 10 13:02:08 2021 +0200 @@ -1075,8 +1075,14 @@ ): self.__error(node.lineno - 1, node.col_offset, "Y120", node.name) - # TODO: extend to cover 'class FooBar(Foo, object):' - # => class FooBar(Foo): + + elif ( + len(node.bases) > 1 and + isinstance(node.bases[-1], ast.Name) and + node.bases[-1].id == "object" + ): + self.__error(node.lineno - 1, node.col_offset, "Y121", + node.name, ", ".join(b.id for b in node.bases[:-1])) def __check181(self, node): """