forked from cupy/cupy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
28 lines (25 loc) · 1.19 KB
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[flake8]
exclude = .eggs,*.egg,build,docs,.git
[pep8]
exclude = .eggs,*.egg,build,.git
[tool:pytest]
filterwarnings= ignore::FutureWarning
ignore::UserWarning
error::DeprecationWarning
error::PendingDeprecationWarning
error::numpy.ComplexWarning
# 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
# Using `scipy.sparse` against NumPy 1.15+ raises warning
# as it uses `np.matrix` which is pending deprecation.
# Also exclude `numpy.matrixlib.defmatrix` as SciPy and our
# test code uses `np.asmatrix`, which internally calls
# `np.matrix`.
ignore::PendingDeprecationWarning:scipy\.sparse\.\w+
ignore::PendingDeprecationWarning:numpy\.matrixlib\.defmatrix
[metadata]
license_file = docs/source/license.rst