Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 def make_dict(): | |
2 return { | |
3 'foo': None, | |
4 'bar': None, | |
5 0: None, | |
6 1: None, | |
7 | |
8 # A207 | |
9 'foo': None, | |
10 # A207 | |
11 ['bar' + ' '][0].strip(): None, | |
12 # A207 | |
13 0.0: None, | |
14 # A207 | |
15 True: None, | |
16 } | |
17 | |
18 | |
19 def make_set(): | |
20 return { | |
21 'foo', | |
22 'bar', | |
23 0, | |
24 1, | |
25 | |
26 # A207 | |
27 'foo', | |
28 # A207 | |
29 ['bar' + ' '][0].strip(), | |
30 # A207 | |
31 0.0, | |
32 # A207 | |
33 True, | |
34 } | |
OLD | NEW |