提交 105c9373 authored 作者: carriepl's avatar carriepl

flake8

上级 7b8c07ab
...@@ -61,7 +61,7 @@ class TestFunctionIn(unittest.TestCase): ...@@ -61,7 +61,7 @@ class TestFunctionIn(unittest.TestCase):
# Ensure that an error is raised if the In wrapped is used to wrap # Ensure that an error is raised if the In wrapped is used to wrap
# a shared variable # a shared variable
a = theano.shared(1.0) a = theano.shared(1.0)
a_wrapped = In(a, update=a+1) a_wrapped = In(a, update=a + 1)
self.assertRaises(TypeError, theano.function, [a_wrapped]) self.assertRaises(TypeError, theano.function, [a_wrapped])
def test_in_mutable(self): def test_in_mutable(self):
......
...@@ -20,7 +20,7 @@ __contact__ = "Saizheng Zhang <saizhenglisa..at..gmail.com>" ...@@ -20,7 +20,7 @@ __contact__ = "Saizheng Zhang <saizhenglisa..at..gmail.com>"
# We ignore: # We ignore:
# - "line too long" # - "line too long"
# too complex to do with the C code # too complex to do with the C code
# - "closing bracket does not match indentation of opening brackets line" # - "closing bracket does not match indentation of opening bracket's line"
# ignored by default by pep8 # ignored by default by pep8
ignore = ('E501', 'E123', 'E133') ignore = ('E501', 'E123', 'E133')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论