All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
5 # keeps existing trailing comma
10 # also keeps existing structure
32 nested = {(1,2,3),(4,5,6),}
33 nested_no_trailing_comma = {(1,2,3),(4,5,6)}
34 nested_long_lines = ["aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb", "cccccccccccccccccccccccccccccccccccccccc", (1, 2, 3), "dddddddddddddddddddddddddddddddddddddddd"]
37 ['ls', 'lsoneple/%s' % (foo,)]
40 assert False, ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa wraps %s" % bar)
42 # looping over a 1-tuple should also not get wrapped
45 for (x,) in (1,), (2,), (3,):
50 division_result_tuple = (6/2,)
51 print("foo %r", (foo.bar,))
54 IGNORED_TYPES_FOR_ATTRIBUTE_CHECKING = (
55 Config.IGNORED_TYPES_FOR_ATTRIBUTE_CHECKING
56 | {pylons.controllers.WSGIController}
60 ec2client.get_waiter('instance_stopped').wait(
61 InstanceIds=[instance.id],
65 ec2client.get_waiter("instance_stopped").wait(
66 InstanceIds=[instance.id],
67 WaiterConfig={"Delay": 5,},
69 ec2client.get_waiter("instance_stopped").wait(
70 InstanceIds=[instance.id], WaiterConfig={"Delay": 5,},
80 # keeps existing trailing comma
85 # also keeps existing structure
113 nested_no_trailing_comma = {(1, 2, 3), (4, 5, 6)}
114 nested_long_lines = [
115 "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
116 "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
117 "cccccccccccccccccccccccccccccccccccccccc",
119 "dddddddddddddddddddddddddddddddddddddddd",
125 ["ls", "lsoneple/%s" % (foo,)]
131 "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa wraps %s"
135 # looping over a 1-tuple should also not get wrapped
138 for (x,) in (1,), (2,), (3,):
147 division_result_tuple = (6 / 2,)
148 print("foo %r", (foo.bar,))
151 IGNORED_TYPES_FOR_ATTRIBUTE_CHECKING = (
152 Config.IGNORED_TYPES_FOR_ATTRIBUTE_CHECKING
153 | {pylons.controllers.WSGIController}
157 ec2client.get_waiter("instance_stopped").wait(
158 InstanceIds=[instance.id],
163 ec2client.get_waiter("instance_stopped").wait(
164 InstanceIds=[instance.id],
169 ec2client.get_waiter("instance_stopped").wait(
170 InstanceIds=[instance.id],