forked from mne-tools/mne-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
63 lines (56 loc) · 2.88 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[aliases]
release = egg_info -RDb ''
# Make sure the sphinx docs are built each time we do a dist.
# bdist = build_sphinx bdist
# sdist = build_sphinx sdist
# Make sure a zip file is created each time we build the sphinx docs
# build_sphinx = generate_help build_sphinx zip_help
# Make sure the docs are uploaded when we do an upload
# upload = upload upload_help
[egg_info]
# tag_build = .dev
[bdist_rpm]
doc-files = doc
[tool:pytest]
addopts = --showlocals --durations=20 --doctest-modules -ra --cov-report= --doctest-ignore-import-errors --junit-xml=junit-results.xml --ignore=doc/sphinxext/cited_mne.py --ignore=mne/gui/_coreg_gui.py --ignore=mne/gui/_fiducials_gui.py --ignore=mne/gui/_file_traits.py --ignore=mne/gui/_kit2fiff_gui.py --ignore=mne/gui/_marker_gui.py --ignore=mne/gui/_viewer.py
usefixtures = matplotlib_config
# Set this pretty low to ensure we do not by default add really long tests,
# or make changes that make things a lot slower
timeout = 30
# Once SciPy updates not to have non-integer and non-tuple errors (1.2.0) we
# should remove them from here.
# This list should also be considered alongside reset_warnings in doc/conf.py
filterwarnings =
error::
ignore::ImportWarning
ignore:the matrix subclass:PendingDeprecationWarning
ignore:numpy.dtype size changed:RuntimeWarning
ignore:.*HasTraits.trait_.*:DeprecationWarning
ignore:.*takes no parameters:DeprecationWarning
ignore:joblib not installed:RuntimeWarning
ignore:Using a non-tuple sequence for multidimensional indexing:FutureWarning
ignore:using a non-integer number instead of an integer will result in an error:DeprecationWarning
ignore:Importing from numpy.testing.decorators is deprecated:DeprecationWarning
ignore:np.loads is deprecated, use pickle.loads instead:DeprecationWarning
ignore:The oldnumeric module will be dropped:DeprecationWarning
ignore:Collection picker None could not be converted to float:UserWarning
ignore:covariance is not positive-semidefinite:RuntimeWarning
ignore:Can only plot ICA components:RuntimeWarning
ignore:Matplotlib is building the font cache using fc-list:UserWarning
ignore:Using or importing the ABCs from 'collections':DeprecationWarning
ignore:`formatargspec` is deprecated:DeprecationWarning
# This is only necessary until sklearn updates their wheels for NumPy 1.16
ignore:numpy.ufunc size changed:RuntimeWarning
[flake8]
exclude = __init__.py,*externals*,constants.py,fixes.py
ignore = E241,E305,W504
[pycodestyle]
exclude = __init__.py,*externals*,constants.py,fixes.py
ignore = E241,E305,W504
[pydocstyle]
convention = pep257
match_dir = ^(?!\.|externals|doc|tutorials|examples|logo).*$
match = (?!tests/__init__\.py|fixes).*\.py
add-ignore = D100,D104,D107,D413
add-select = D214,D215,D404,D405,D406,D407,D408,D409,D410,D411
ignore-decorators = ^(copy_.*_doc_to_|on_trait_change|cached_property|deprecated|property|.*setter).*