-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathsetup.cfg
83 lines (75 loc) · 1.41 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[aliases]
test = pytest
[tool:pytest]
# disable-pytest-warnings should be removed once we rewrite tests
# using yield with parametrize
doctest_optionflags = NORMALIZE_WHITESPACE ELLIPSIS
testpaths = skada
addopts =
--doctest-modules
--disable-pytest-warnings
--color=yes
-rN
[flake8]
# max line length for black
max-line-length = 88
target-version = ['py37']
exclude=
.git,
__pycache__,
dist,
build
# It's fine not to put the import at the top of the file in the examples
# folder.
per-file-ignores =
examples/*: E402
doc/conf.py: E402
skada/deep/tests/*.py: E402
[mypy]
ignore_missing_imports = True
allow_redefinition = True
[codespell]
skip = ./.git,./.mypy_cache,./doc/_build,./doc/auto_examples,./doc/modules/generated
[rstcheck]
report_level = WARNING
ignore_roles =
attr,
class,
doc,
eq,
exc,
file,
footcite,
footcite:t,
func,
gh,
kbd,
meth,
mod,
newcontrib,
py:mod,
ref,
samp,
term
ignore_directives =
autoclass,
autofunction,
automodule,
autosummary,
bibliography,
cssclass,
currentmodule,
dropdown,
footbibliography,
glossary,
graphviz,
grid,
highlight,
minigallery,
tabularcolumns,
toctree,
rst-class,
tab-set,
towncrier-draft-entries,
include
ignore_messages = ^.*(Unknown target name|Undefined substitution referenced)[^`]*$