 Issue 29342824:
  Issue 4044 - Added handling for __future__ unicode_literals import to check_quotes()  (Closed)
    
  
    Issue 29342824:
  Issue 4044 - Added handling for __future__ unicode_literals import to check_quotes()  (Closed) 
  | Left: | ||
| Right: | 
| OLD | NEW | 
|---|---|
| 1 def foo(): | 1 def foo(): | 
| 2 return [ | 2 return [ | 
| 3 # A110 | 3 # A110 | 
| 4 "foo", | 4 "foo", | 
| 5 # A110 | 5 # A110 | 
| 6 "", | 6 "", | 
| 7 # A110 | 7 # A110 | 
| 8 '\'', | 8 '\'', | 
| 9 # A110 | 9 # A110 | 
| 10 "\"", | 10 "\"", | 
| 11 # A110 | 11 # A110 | 
| 12 "\"'", | 12 "\"'", | 
| 13 # A110 | 13 # A110 | 
| 14 b"foo", | 14 b"foo", | 
| 15 # A110 | 15 # A110 | 
| 16 u"foo", | |
| 17 # A110 | |
| 18 r"foo", | 16 r"foo", | 
| 19 # A110 | 17 # A110 | 
| 20 '''foo''', | 18 '''foo''', | 
| 21 # A110 | 19 # A110 | 
| 22 """foo""", | 20 """foo""", | 
| 23 | 21 | 
| 24 'foo', | 22 'foo', | 
| 25 '', | 23 '', | 
| 26 "'", | 24 "'", | 
| 27 '"', | 25 '"', | 
| 28 '\'"', | 26 '\'"', | 
| 29 '\xc3\xa4', | 27 '\xc3\xa4', | 
| 30 b'\xc3\xa4', | 28 b'\xc3\xa4', | 
| 31 u'\xe4', | |
| 32 r'\'\"', | 29 r'\'\"', | 
| 33 ] | 30 ] | 
| OLD | NEW |