| Index: flake8-eyeo/tests/A111.py |
| =================================================================== |
| --- a/flake8-eyeo/tests/A111.py |
| +++ b/flake8-eyeo/tests/A111.py |
| @@ -10,6 +10,17 @@ |
| else: |
| return |
| + # * A111 |
| + for (a, b, c) in y: |
| + # * A111 |
|
tlucas
2017/11/15 09:06:17
If i'm not mistaken, the *'s column should match t
rosie
2017/12/07 01:51:26
Done.
|
| + result = (a + b + c) |
| + # * A111 |
| + return result or ('foo') |
| + |
| + # A111 |
| + (a, b, c) = x |
| + del a, b, c |
| + |
| def mandatory_parenthesis(x, y, z): |
| if (): |
| @@ -25,3 +36,11 @@ |
| if (x or |
| y): |
| return |
| + |
| + |
| +def acceptable_parenthesis(x, y, z): |
| + a = (x == y) |
| + b = (x or y == z) |
| + c = (x + y) / z |
| + d = (x and y) or z |
| + return (a, b, c, d) |