forked from cupy/cupy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
34 lines (32 loc) · 1.47 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
29
30
31
32
33
34
[flake8] # autopep8 would honor this setting, but not the other way around
exclude = .eggs,*.egg,build,docs,.git,*cupy/array_api,*tests/cupy_tests/array_api_tests
[tool:pytest]
filterwarnings =
error::FutureWarning
# ignore FutureWarning from cupy._util.experimental
ignore:.* is experimental\.:FutureWarning:cupy
ignore::UserWarning
error::DeprecationWarning
error::PendingDeprecationWarning
error::numpy.VisibleDeprecationWarning
error::numpy.ComplexWarning
# distutils (Python 3.10)
ignore:The distutils(.+) is deprecated: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
# 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
# pyreadline (dependency from optuna -> cliff -> cmd2) uses deprecated ABCs
ignore:Using or importing the ABCs from:DeprecationWarning:pyreadline
xfail_strict=true
[metadata]
license_files = docs/source/license.rst