Index: flake8-eyeo/tests/A208.py |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/flake8-eyeo/tests/A208.py |
@@ -0,0 +1,17 @@ |
+a = b = c = 1 |
+ |
+# * A208 |
+if a == 1 or a == 2: |
+ print(a) |
+ |
+# * A208 |
+if b == a or a == c: |
+ print(a) |
+ |
+# * A208 |
+if a != 1 or 2 != a: |
Sebastian Noack
2017/12/10 23:19:57
This expression will always evaluate to True. I su
|
+ print(a) |
+ |
+# * A208 |
+if b != a or c != a: |
+ print(a) |