Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: flake8-abp/tests/A110.py

Issue 29342824: Issue 4044 - Added handling for __future__ unicode_literals import to check_quotes() (Closed)
Patch Set: Updates readme for clarity, moves unicode prefix check out of single line and docstring if statemen… Created May 26, 2016, 9:17 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
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 ]
OLDNEW

Powered by Google App Engine
This is Rietveld