https://github.com/chainer/chainer
Tip revision: 12340007efee499ddcb53120938cc23c8d96c5f9 authored by niboshi on 25 October 2018, 08:34:50 UTC
Merge pull request #5579 from kmaehashi/release-v6.0.0a1
Merge pull request #5579 from kmaehashi/release-v6.0.0a1
Tip revision: 1234000
setup.cfg
[flake8]
exclude = .eggs,*.egg,build,caffe_pb2.py,caffe_pb3.py,docs,.git
# TODO(niboshi): Fix violating code and remove E241 and E226
ignore = E741,W503,E241,E226
[pep8]
exclude = .eggs,*.egg,build,caffe_pb2.py,caffe_pb3.py,docs,.git
[tool:pytest]
filterwarnings= ignore::FutureWarning
error::DeprecationWarning
# importing old SciPy is warned because it tries to
# import nose via numpy.testing
ignore::DeprecationWarning:scipy._lib._numpy_compat
# importing stats from old SciPy is warned because it tries to
# import numpy.testing.decorators
ignore::DeprecationWarning:scipy.stats.morestats
# Theano 0.8 causes DeprecationWarnings. It is fixed in 0.9.
ignore::DeprecationWarning:theano.configparser
# Theano 1.0.2 passes a deprecated argument to distutils during
# importing ``theano.gof`` module.
# Without this configuration, the DeprecationWarning would be
# treated as an exception, and therefore the import would fail,
# causing AttributeError in the subsequent uses of
# ``theano.gof``. (#4810)
ignore::DeprecationWarning:theano.gof.cmodule
# ``collections.MutableSequence`` in protobuf is warned by
# Python 3.7.
ignore::DeprecationWarning:google.protobuf.internal.containers
testpaths = tests docs
python_files = test_*.py
python_classes = Test
python_functions = test
minversion = 2.9
addopts = --doctest-modules