Fixing Lint after flake upgrade (#1162)

* Fixing Lint after flake upgrade

* more lint fixes
This commit is contained in:
Richard Liaw
2017-10-26 19:02:07 -07:00
committed by Robert Nishihara
parent 6da7761d5d
commit 797f4fcbf3
11 changed files with 34 additions and 37 deletions
+3 -3
View File
@@ -46,8 +46,8 @@ SIMPLE_OBJECTS = (BASE_SIMPLE_OBJECTS +
# Create some complex objects that cannot be serialized by value in tasks.
l = []
l.append(l)
lst = []
lst.append(lst)
class Foo(object):
@@ -55,7 +55,7 @@ class Foo(object):
pass
BASE_COMPLEX_OBJECTS = [999 * "h", 999 * u"h", l, Foo(),
BASE_COMPLEX_OBJECTS = [999 * "h", 999 * u"h", lst, Foo(),
10 * [10 * [10 * [1]]]]
LIST_COMPLEX_OBJECTS = [[obj] for obj in BASE_COMPLEX_OBJECTS]