File: setup.cfg

package info (click to toggle)
python-mne 1.3.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 100,172 kB
  • sloc: python: 166,349; pascal: 3,602; javascript: 1,472; sh: 334; makefile: 236
file content (42 lines) | stat: -rw-r--r-- 1,503 bytes parent folder | download
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
[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

[flake8]
exclude = __init__.py,constants.py,fixes.py,resources.py,*doc/auto_*,*doc/_build*,build/*
ignore = W503,W504,I100,I101,I201,N806,E201,E202,E221,E222,E241
# We add A for the array-spacing plugin, and ignore the E ones it covers above
select = A,E,F,W,C
# 10_spectrum_class.py has a wide rST table
per-file-ignores =
    tutorials/time-freq/10_spectrum_class.py:E501

[tool:pytest]
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=mne/gui/_*.py --ignore=mne/icons --ignore=tools
    --ignore=mne/report/js_and_css
    --color=yes --capture=sys
junit_family = xunit2

[pydocstyle]
convention = pep257
match_dir = ^(?!\.|doc|tutorials|examples|logo|icons).*$
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).*