-
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.
Avoid incorrect tuple transformation in single-element case (
C409
) (#…
…10491) # Summary Fixed: incorrect rule transformation rule C409 with single element. # Test Plan Added examples from #10323 to test fixtures.
- Loading branch information
1 parent
9d705a4
commit 4045df4
Showing
3 changed files
with
126 additions
and
14 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,11 @@ | |
tuple([ # comment | ||
1, 2 | ||
]) | ||
|
||
tuple(( | ||
1, | ||
)) | ||
|
||
t6 = tuple([1]) | ||
t7 = tuple((1,)) | ||
t8 = 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