提交 0ea2c730 authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Fix small remaining issues.

上级 b4181fcb
...@@ -195,5 +195,3 @@ def sparse_grad(var): ...@@ -195,5 +195,3 @@ def sparse_grad(var):
__import__('theano.tensor.shared_randomstreams') __import__('theano.tensor.shared_randomstreams')
# flake8: noqa
...@@ -64,6 +64,7 @@ __all__ += ['cmp', 'operator_div', 'partial', 'defaultdict', 'deque', ...@@ -64,6 +64,7 @@ __all__ += ['cmp', 'operator_div', 'partial', 'defaultdict', 'deque',
'combinations', 'product', 'maxsize', 'DictMixin', 'combinations', 'product', 'maxsize', 'DictMixin',
'OrderedDict', 'decode', 'decode_iter'] 'OrderedDict', 'decode', 'decode_iter']
class DefaultOrderedDict(OrderedDict): class DefaultOrderedDict(OrderedDict):
def __init__(self, default_factory=None, *a, **kw): def __init__(self, default_factory=None, *a, **kw):
if (default_factory is not None and if (default_factory is not None and
......
...@@ -324,8 +324,6 @@ whitelist_flake8 = [ ...@@ -324,8 +324,6 @@ whitelist_flake8 = [
"gof/sandbox/equilibrium.py", "gof/sandbox/equilibrium.py",
"sandbox/cuda/opt_util.py", "sandbox/cuda/opt_util.py",
"gof/tests/test_utils.py", "gof/tests/test_utils.py",
"misc/pkl_utils.py",
"sandbox/cuda/tests/test_cula.py",
"tensor/tests/_test_mpi_roundtrip.py", "tensor/tests/_test_mpi_roundtrip.py",
] ]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论