-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
22 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
class Fruit: | ||
def __init__(self, color, name): | ||
self.color = color | ||
self.name = name | ||
|
||
|
||
apple = Fruit("red") # [too-few-function-args] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
class Fruit: | ||
def __init__(self, color, name): | ||
self.color = color | ||
self.name = name | ||
|
||
|
||
apple = Fruit("red", "apple") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
too-few-function-args:3:0:3:13::Too few positional arguments (1/2):HIGH | ||
too-few-function-args:3:0:3:13::Too few positional arguments for function `isinstance` (1/2):HIGH |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
too-many-function-args:23:0:23:23::Too many positional arguments (3/2):HIGH | ||
too-many-function-args:23:0:23:23::Too many positional arguments for function `isinstance` (3/2):HIGH | ||
isinstance-second-argument-not-valid-type:24:0:24:21::Second argument of isinstance is not a type:INFERENCE | ||
too-many-function-args:24:0:24:21::Too many positional arguments (3/2):HIGH | ||
too-many-function-args:24:0:24:21::Too many positional arguments for function `isinstance` (3/2):HIGH |