-
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.
#10323: Fixed incorrect rule transformation rule C409 (unnecessary-li…
…teral-within-tuple-call)
- Loading branch information
1 parent
ad84eed
commit 1b83088
Showing
3 changed files
with
102 additions
and
18 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 |
---|---|---|
|
@@ -16,3 +16,13 @@ | |
tuple([ # comment | ||
1, 2 | ||
]) | ||
|
||
tuple( | ||
( | ||
1, | ||
) | ||
) | ||
|
||
t6 = tuple([1]) | ||
t7 = tuple((1,)) | ||
|
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