Index: flake8-abp/tests/A102.py |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/flake8-abp/tests/A102.py |
@@ -0,0 +1,8 @@ |
+def in_tuple(x): |
+ # * A102 |
+ return x in (0, 1) |
+ |
+ |
+def in_list(x): |
+ # * A102 |
+ return x in [0, 1] |