-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
49 lines (40 loc) · 1.32 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
[pydocstyle]
convention = numpy
match_dir = ^(?!\.|doc|benchmarks|examples|externals|config|pipeline|statistics|base|old).*$
add-ignore = D100,D104,D105,D107,D401,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).*
[tool:pytest]
filterwarnings =
ignore::UserWarning
ignore::DeprecationWarning
ignore::RuntimeWarning
addopts =
--durations=20 --doctest-modules -ra --cov-report= --tb=short
--doctest-ignore-import-errors --junit-xml=junit-results.xml
--ignore=doc --ignore=logo --ignore=examples --ignore=tutorials
--ignore=eztrack/externals --ignore=eztrack/icons
--capture=sys
junit_family = xunit2
[flake8]
max-line-length = 79
max-complexity = 10
[coverage:run]
omit=*__init__*,**/tests,
[coverage:report]
exclude_lines =
pragma: no cover
@deprecated
# Don't complain if non-runnable code isn't run:
if 0:
if __name__ == .__main__.:
# Don't complain on verbose arguments
if verbose:
# Don't complain if tests don't hit defensive assertion code:
raise NotImplementedError
raise ImportError
# don't need to test the bids validator function
# it is used in unit tests
_bids_validate
;[mypy-eztrack.base.utils.*]
;show_error_codes = False