Skip to content

Commit

Permalink
modify the bad.py for too-few-function-args
Browse files Browse the repository at this point in the history
  • Loading branch information
rogersheu committed Aug 14, 2024
1 parent 34153fa commit 7388110
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions doc/data/messages/t/too-few-function-args/bad.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
class Fruit:
def __init__(self, color, name):
self.color = color
self.name = name


apple = Fruit("red") # [too-few-function-args]
# As of 2024-08-13, `too-few-function-args` is only implemented for `isinstance`
isinstance(1) # [too-few-function-args]

0 comments on commit 7388110

Please sign in to comment.