-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SONARPY-2345 Document new S1172 FN when super class is ambiguous
- Loading branch information
1 parent
e0a6c3c
commit a53a73b
Showing
3 changed files
with
21 additions
and
2 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
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
9 changes: 9 additions & 0 deletions
9
...ecks/src/test/resources/checks/unusedFunctionParameter/unusedFunctionParameterImported.py
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,12 @@ | ||
class ImportedParent: | ||
def using_child_method(self): | ||
return self.method_defined_in_child_class_only(1,2) | ||
|
||
class DuplicatedParent: | ||
... | ||
|
||
class DuplicatedParent: | ||
... | ||
|
||
class ParentWithDuplicatedParent(DuplicatedParent): | ||
... |