-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SONARPY-1299 Ensure rules unit tests can run on IPython files (#1408)
- 4.26.0.19456
- 4.25.0.19056
- 4.24.0.18631
- 4.23.0.17664
- 4.22.0.16914
- 4.21.0.16473
- 4.20.0.16410
- 4.19.0.15616
- 4.18.0.15334
- 4.17.0.14845
- 4.16.0.14672
- 4.15.0.14551
- 4.14.0.14263
- 4.13.0.14130
- 4.12.0.13917
- 4.11.0.13826
- 4.10.0.13725
- 4.9.0.13528
- 4.8.0.12420
- 4.7.0.12181
- 4.6.0.12071
- 4.5.0.11949
- 4.4.1.11938
- 4.4.0.11907
- 4.3.0.11660
- 4.2.0.11487
- 4.1.0.11333
1 parent
a3c4234
commit 50b9bb9
Showing
8 changed files
with
157 additions
and
31 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
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
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,5 @@ | ||
def fp_when_using_dynamic_object_information(): | ||
x = 42 # Noncompliant | ||
x?? | ||
x = 24 | ||
print(x) |
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
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,10 @@ | ||
#SONAR_PYTHON_NOTEBOOK_CELL_DELIMITER | ||
def hello2(): | ||
print("Hello world") | ||
return [ | ||
] | ||
#SONAR_PYTHON_NOTEBOOK_CELL_DELIMITER | ||
#A comment | ||
class B: | ||
def method(self): | ||
pass |