Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: flake8-abp/tests/A106.py

Issue 29340727: Noissue - Added flake8 extension accounting for our coding style and some other stuff (Closed)
Patch Set: Added more checks, tests, README and addressed comments Created May 7, 2016, 5:13 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: flake8-abp/tests/A106.py
===================================================================
new file mode 100644
--- /dev/null
+++ b/flake8-abp/tests/A106.py
@@ -0,0 +1,49 @@
+def foo(x, y):
+ # A106
+ x = x + y
+ # A106
+ x = x - y
+ # A106
+ x = x * y
+ # A106
+ x = x / y
+ # A106
+ x = x % y
+ # A106
+ x = x & y
+ # A106
+ x = x | y
+ # A106
+ x = x ^ y
+ # A106
+ x = x // y
+ # A106
+ x = x ** y
+ # A106
+ x = x >> y
+ # A106
+ x = x << y
+
+ x += y
+ x -= y
+ x *= y
+ x /= y
+ x %= y
+ x &= y
+ x |= y
+ x ^= y
+ x //= y
+ x **= y
+ x >>= y
+ x <<= y
+
+ x = x in y
+ x = x is y
+ x = x or y
+ x = x and y
+ x = x == y
+ x = x != y
+ x = x < y
+ x = x > y
+ x = x >= y
+ x = x <= y
« flake8-abp/setup.py ('K') | « flake8-abp/tests/A105.py ('k') | flake8-abp/tests/A107.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld