diff --git a/doc/data/messages/u/useless-object-inheritance/bad.py b/doc/data/messages/u/useless-object-inheritance/bad.py new file mode 100644 index 0000000000..2b6cca4cec --- /dev/null +++ b/doc/data/messages/u/useless-object-inheritance/bad.py @@ -0,0 +1,2 @@ +class Banana(object): # [useless-object-inheritance] + ... diff --git a/doc/data/messages/u/useless-object-inheritance/good.py b/doc/data/messages/u/useless-object-inheritance/good.py new file mode 100644 index 0000000000..f7e8c4a66f --- /dev/null +++ b/doc/data/messages/u/useless-object-inheritance/good.py @@ -0,0 +1,2 @@ +class Banana: + ...