1[flake8] 2exclude = .eggs,*.egg,build,caffe_pb2.py,caffe_pb3.py,docs,.git 3ignore = E741,W503,W504,E241,E226 4 5[pep8] 6exclude = .eggs,*.egg,build,caffe_pb2.py,caffe_pb3.py,docs,.git 7 8[tool:pytest] 9filterwarnings = 10 error 11 default::ImportWarning 12 ignore:Some of grads are ignored by chainer\.backward\.:RuntimeWarning 13 ignore:numpy\.ufunc size changed, may indicate binary incompatibility:RuntimeWarning 14 ignore:numpy\.dtype size changed, may indicate binary incompatibility:RuntimeWarning 15 ignore:ChainerX core binary is built in debug mode:UserWarning 16 ignore:Accelerate has been detected as a NumPy backend library:UserWarning:chainer[.*] 17 ignore::chainer.warnings.PerformanceWarning 18 ignore::chainer.backends.cuda._PerformanceWarning 19 ignore::FutureWarning:chainer\.utils\.experimental 20 ignore:in the future np\.array_split will retain the shape of arrays with a zero size:FutureWarning:numpy\.lib\.shape_base 21 ignore::DeprecationWarning:scipy\._lib\._numpy_compat 22 ignore::DeprecationWarning:scipy\.stats\.morestats 23 ignore::DeprecationWarning:theano\.configparser 24 ignore::DeprecationWarning:theano\.gof\.cmodule 25 ignore:Using or importing the ABCs from 'collections':DeprecationWarning:google\.protobuf 26 ignore::DeprecationWarning:h5py\._hl\.base 27 ignore:Using or importing the ABCs from 'collections':DeprecationWarning:onnx\.helper 28 ignore:.* is a deprecated alias for the builtin:DeprecationWarning:onnx 29 ignore::DeprecationWarning:cupy 30testpaths = tests docs 31python_files = test_*.py 32python_classes = Test 33python_functions = test 34minversion = 2.9 35addopts = --doctest-modules --doctest-glob='*.rst' 36markers = 37 chainerx: Tests to use ChainerX 38 cudnn: Tests to use cuDNN 39 gpu: Tests to run on GPU 40 ideep: Tests to use IDeep 41 theano: Tests to use Theano 42 multi_gpu: Tests to uses multi GPUs 43 slow: Tests thats takes time 44 parametrize_device: Parametrize ChainerX devices 45 parametrize_device_name: Parametrize ChainerX device names 46 47[mypy] 48 49[mypy-filelock.*] 50ignore_missing_imports = True 51 52[mypy-pytest.*] 53ignore_missing_imports = True 54 55[mypy-numpy.*] 56ignore_missing_imports = True 57 58[mypy-cupy.*] 59ignore_missing_imports = True 60 61[mypy-cupyx.*] 62ignore_missing_imports = True 63 64[mypy-ideep4py.*] 65ignore_missing_imports = True 66 67[mypy-theano.*] 68ignore_missing_imports = True 69 70[mypy-google.protobuf.*] 71ignore_missing_imports = True 72 73[mypy-h5py.*] 74ignore_missing_imports = True 75 76[mypy-scipy.*] 77ignore_missing_imports = True 78 79[mypy-matplotlib.*] 80ignore_missing_imports = True 81 82[mypy-PIL.*] 83ignore_missing_imports = True 84 85[egg_info] 86tag_build = 87tag_date = 0 88 89