-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
39 lines (33 loc) · 992 Bytes
/
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
[flake8]
exclude = __init__.py
ignore = W504,I101,I100,I201
per-file-ignores =
morf/commands/tests/test_*.py:E402
morf/tests/test_*.py:E402
[mypy]
ignore_missing_imports = True
[tool:pytest]
addopts =
--showlocals --durations=20 -ra --junit-xml=junit-results.xml
--ignore=doc
filterwarnings =
error
ignore:filter_length *:RuntimeWarning
ignore:Did not find any electrodes.tsv *:RuntimeWarning
ignore:Did not find any coordsystem.json *:RuntimeWarning
[pydocstyle]
convention = pep257
match_dir = ^(?!\.|doc|examples|setup|_build_utils).*$
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__.: