Skip to content

Commit

Permalink
Added documentation examples for useless-object-inheritance. (#6701)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbyrnepr2 authored May 25, 2022
1 parent e2bb11a commit f2c1256
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/data/messages/u/useless-object-inheritance/bad.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
class Banana(object): # [useless-object-inheritance]
...
2 changes: 2 additions & 0 deletions doc/data/messages/u/useless-object-inheritance/good.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
class Banana:
...

0 comments on commit f2c1256

Please sign in to comment.