PY-16553 Add trailing comma when converting single element collection to tuple
authorMikhail Golubev <mikhail.golubev@jetbrains.com>
Mon, 2 May 2016 16:55:31 +0000 (19:55 +0300)
committerMikhail Golubev <mikhail.golubev@jetbrains.com>
Tue, 3 May 2016 11:54:00 +0000 (14:54 +0300)
commit93f581a528d842f1a206b7fb66fab70878b2c8e8
treeb2bd8e50eabb2040c0aedef47ec2f531d6dc96a6
parent1be51b3df5470cd077e192402e25de6dc0bb7879
PY-16553 Add trailing comma when converting single element collection to tuple
python/src/com/jetbrains/python/codeInsight/intentions/PyBaseConvertCollectionLiteralIntention.java
python/src/com/jetbrains/python/codeInsight/intentions/PyConvertLiteralToTupleIntention.java
python/testData/intentions/PyConvertCollectionLiteralIntentionTest/convertOneElementIncompleteListToTuple.py [new file with mode: 0644]
python/testData/intentions/PyConvertCollectionLiteralIntentionTest/convertOneElementIncompleteListToTuple_after.py [new file with mode: 0644]
python/testData/intentions/PyConvertCollectionLiteralIntentionTest/convertOneElementListToTuple.py [new file with mode: 0644]
python/testData/intentions/PyConvertCollectionLiteralIntentionTest/convertOneElementListToTuple_after.py [new file with mode: 0644]
python/testData/intentions/PyConvertCollectionLiteralIntentionTest/convertOneElementListWithCommentToTuple.py [new file with mode: 0644]
python/testData/intentions/PyConvertCollectionLiteralIntentionTest/convertOneElementListWithCommentToTuple_after.py [new file with mode: 0644]
python/testSrc/com/jetbrains/python/intentions/PyConvertCollectionLiteralIntentionTest.java