forked from LABSN/expyfun
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
53 lines (48 loc) · 2.05 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
[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 -rs
--cov-report= --junit-xml=junit-results.xml
--ignore=examples --ignore=tutorials --ignore=doc --ignore=make
--doctest-modules --doctest-ignore-import-errors -v
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 = 5
# 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:TDT is in dummy mode:UserWarning
ignore:generator 'ZipRunIterator.ranges' raised StopIteration:DeprecationWarning
ignore:size changed:RuntimeWarning
ignore:Using or importing the ABCs:DeprecationWarning
ignore:joblib not installed:RuntimeWarning
ignore:Matplotlib is building the font cache using fc-list:UserWarning
ignore:.*clock has been deprecated.*:DeprecationWarning
ignore:the imp module is deprecated.*:DeprecationWarning
ignore:.*eos_action is deprecated.*:DeprecationWarning
ignore:.*ufunc size changed.*:RuntimeWarning
[flake8]
exclude = __init__.py,decorator.py,ndarraysource.py
ignore = E226,E241,E242,E265,W504
[pydocstyle]
convention = pep257
match_dir = ^(?!\.|_externals|doc|examples).*$
match = (?!tests/__init__\.py|fixes).*\.py
add-ignore = D100,D104,D107,D413,D105,D200,D205,D400,D401 # eventually D105,D200,D205,D400,D401 should be used
add-select = D214,D215,D404,D405,D406,D407,D408,D409,D410,D411
ignore-decorators = ^(property|.*setter).*