forked from mne-tools/mne-bids
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
47 lines (42 loc) · 1.62 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
[flake8]
exclude = __init__.py
ignore = W504,I101,I100,I201
per-file-ignores =
mne_bids/commands/tests/test_*.py:E402
mne_bids/tests/test_*.py:E402
[tool:pytest]
addopts =
--showlocals --durations=20 -ra --junit-xml=junit-results.xml
--ignore=doc
filterwarnings =
error
ignore:Estimation of line frequency only supports.*:RuntimeWarning
ignore:There are channels without locations (n/a)*:RuntimeWarning
ignore:Did not find any electrodes.tsv.*:RuntimeWarning
ignore:Did not find any coordsystem.json.*:RuntimeWarning
ignore:Did not find any events.tsv.*:RuntimeWarning
ignore:No events found or provided.*:RuntimeWarning
ignore:Participants file not found for.*:RuntimeWarning
ignore:Converting to FIF for anonymization:RuntimeWarning
ignore:Converting to BV for anonymization:RuntimeWarning
ignore:Converting data files to BrainVision format:RuntimeWarning
ignore:Writing of electrodes.tsv is not supported for datatype.*:RuntimeWarning
ignore:numpy.ufunc size changed.*:RuntimeWarning
ignore:tostring\(\) is deprecated.*:DeprecationWarning
ignore:MEG ref channel RMSP did not.*:RuntimeWarning
[pydocstyle]
convention = pep257
match_dir = ^(?!\.|doc|examples).*$
add-ignore = D100,D104,D107,D413
add-select = D214,D215,D404,D405,D406,D407,D408,D409,D410,D411
[coverage:run]
omit =
# Do not include test script in coverage report
*tests*
[coverage:report]
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover
# Don't complain if non-runnable code isn't run:
if __name__ == .__main__.: