-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/PERF403
- Loading branch information
Showing
89 changed files
with
10,732 additions
and
8,406 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,19 +1,27 @@ | ||
def bar(): # OK | ||
... | ||
def bar(): | ||
... # OK | ||
|
||
|
||
def oof(): # OK, docstrings are handled by another rule | ||
def bar(): | ||
pass # OK | ||
|
||
|
||
def bar(): | ||
"""oof""" # OK | ||
|
||
|
||
def oof(): # ERROR PYI048 | ||
"""oof""" | ||
print("foo") | ||
|
||
|
||
def foo(): # Ok not in Stub file | ||
def foo(): # ERROR PYI048 | ||
"""foo""" | ||
print("foo") | ||
print("foo") | ||
|
||
|
||
def buzz(): # Ok not in Stub file | ||
def buzz(): # ERROR PYI048 | ||
print("fizz") | ||
print("buzz") | ||
print("test") |
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,20 +1,20 @@ | ||
def bar(): ... # OK | ||
def bar(): | ||
... # OK | ||
|
||
|
||
def oof(): # OK, docstrings are handled by another rule | ||
"""oof""" | ||
print("foo") | ||
pass # OK | ||
|
||
def bar(): | ||
"""oof""" # OK | ||
|
||
def oof(): # ERROR PYI048 | ||
"""oof""" | ||
print("foo") | ||
|
||
def foo(): # ERROR PYI048 | ||
def foo(): # ERROR PYI048 | ||
"""foo""" | ||
print("foo") | ||
print("foo") | ||
|
||
|
||
def buzz(): # ERROR PYI048 | ||
def buzz(): # ERROR PYI048 | ||
print("fizz") | ||
print("buzz") | ||
print("test") |
Oops, something went wrong.