提交 e29d6ce4 authored 作者: sentient07's avatar sentient07

Added the ingored errors to setup.cfg file

上级 4fbf5546
......@@ -3,4 +3,4 @@ match=^test
nocapture=1
[flake8]
ignore=E501,E123,E133
ignore=E501,E123,E133,FI12,FI14,FI15,FI50,FI51,FI53
......@@ -2,7 +2,6 @@ from __future__ import absolute_import, print_function, division
import numpy
import unittest
import numpy, theano, unittest
from theano.compile.pfunc import pfunc
from theano.compile.sharedvalue import shared
......
from __future__ import absolute_import, print_function, division
import numpy
import theano
from theano.tensor.nnet.tests import test_abstract_conv
from theano.sandbox.cuda import float32_shared_constructor as gpu_shared
......
from __future__ import absolute_import, print_function, division
from theano.sparse.utils import hash_from_sparse
from theano.sparse.tests.test_basic import as_sparse_format
from nose.plugins.skip import SkipTest
import numpy
import theano.sparse
if not theano.sparse.enable_sparse:
raise SkipTest('Optional package sparse disabled')
from nose.plugins.skip import SkipTest
import numpy
from theano.sparse.utils import hash_from_sparse
from theano.sparse.tests.test_basic import as_sparse_format
......
from __future__ import absolute_import, print_function, division
import numpy
from theano import config
from theano.tensor.opt import in2out
......
from __future__ import absolute_import, print_function, division
from theano.compile import Mode
import theano
from theano.printing import hex_digest
......
......@@ -2,7 +2,6 @@
Test for jacobian/hessian functions in Theano
"""
from __future__ import absolute_import, print_function, division
import unittest
from six.moves import xrange
from theano.tests import unittest_tools as utt
import theano
......
......@@ -22,6 +22,13 @@ __contact__ = "Saizheng Zhang <saizhenglisa..at..gmail.com>"
# too complex to do with the C code
# - "closing bracket does not match indentation of opening bracket's line"
# ignored by default by pep8
# - "'with_statement' missing"
# - "'unicode_literals' missing"
# - "'generator_stop' missing"
# - "'division' present"
# - "'absolute_import' present"
# - "'print_function' present"
# Redundant error code generated by flake8-future-import module
ignore = ('E501', 'E123', 'E133', 'FI12', 'FI14', 'FI15', 'FI50', 'FI51', 'FI53')
whitelist_flake8 = [
......@@ -32,15 +39,6 @@ whitelist_flake8 = [
"compile/profiling.py",
"compile/sandbox/__init__.py",
"compile/tests/__init__.py",
"compile/tests/test_builders.py",
"compile/tests/test_misc.py",
"compile/tests/test_monitormode.py",
"compile/tests/test_function_module.py",
"compile/tests/test_shared.py",
"compile/tests/test_ops.py",
"compile/tests/test_pfunc.py",
"compile/tests/test_debugmode.py",
"compile/tests/test_profiling.py",
"typed_list/__init__.py",
"typed_list/tests/__init__.py",
"tensor/__init__.py",
......@@ -152,12 +150,6 @@ whitelist_flake8 = [
"scan_module/tests/test_scan_opt.py",
"misc/__init__.py",
"misc/tests/__init__.py",
"misc/tests/test_may_share_memory.py",
"misc/tests/test_pycuda_theano_simple.py",
"misc/tests/test_gnumpy_utils.py",
"misc/tests/test_pycuda_utils.py",
"misc/tests/test_cudamat_utils.py",
"misc/tests/test_pycuda_example.py",
"misc/hooks/reindent.py",
"misc/hooks/check_whitespace.py",
"sparse/__init__.py",
......
from __future__ import absolute_import, print_function, division
from theano.tests.record import *
from theano.tests.record import Record, MismatchError, RecordMode
from theano import function
from six.moves import xrange, StringIO
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论