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

Unified Diff: flake8-eyeo/tests/A111.py

Issue 30050569: Noissue - Removed linters which are now moved to a seperate repository (Closed)
Patch Set: Created April 25, 2019, 11:17 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
« no previous file with comments | « flake8-eyeo/tests/A110_unicode_literals.py ('k') | flake8-eyeo/tests/A112.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: flake8-eyeo/tests/A111.py
===================================================================
deleted file mode 100644
--- a/flake8-eyeo/tests/A111.py
+++ /dev/null
@@ -1,46 +0,0 @@
-def redundant_parenthesis(x, y, z):
- # * A111
- while (x):
- # * A111
- if ((x or y) and z):
- pass
- # * A111
- elif (x == max(y, z)):
- pass
- else:
- return
-
- # * A111
- for (a, b, c) in y:
- # * A111
- 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 ():
- return
- if (x, y, z):
- return
-
- if (x or y) and z:
- return
- if x and (y or z):
- return
-
- 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)
« no previous file with comments | « flake8-eyeo/tests/A110_unicode_literals.py ('k') | flake8-eyeo/tests/A112.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld