Index: flake8-eyeo/tests/A103.py |
=================================================================== |
--- a/flake8-eyeo/tests/A103.py |
+++ b/flake8-eyeo/tests/A103.py |
@@ -24,3 +24,7 @@ |
def compare_variables(a, b, c, d): |
return (a, b) == (c, d) or a == b |
+ |
+ |
+def compare_builtin(x): |
+ return dir == x |
Sebastian Noack
2017/10/05 22:07:11
This was causing an A103 (yoda expression), since
Vasily Kuznetsov
2017/10/06 10:46:21
Isn't this kind of a genuine yoda expression thoug
Sebastian Noack
2017/10/06 18:11:09
Another way to look at it is that builtin function
|