forked from nengo/nengo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
144 lines (128 loc) · 2.88 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
# Automatically generated by nengo-bones, do not edit this file directly
[build_sphinx]
source-dir = docs
build-dir = docs/_build
all_files = 1
[coverage:run]
source = ./
[coverage:report]
# Regexes for lines to exclude from consideration
exclude_lines =
# Have to re-enable the standard pragma
# place ``# pragma: no cover`` at the end of a line to ignore it
pragma: no cover
# Don't complain if tests don't hit defensive assertion code:
raise NotImplementedError
# `pass` is just a placeholder, fine if it's not covered
^[ \t]*pass$
^[ \t]*assert False
# Patterns for files to exclude from reporting
omit =
*/tests/test*
nengo/_vendor/*
nengo/spa/*
nengo/utils/filter_design.py
[flake8]
exclude =
__init__.py
compat.py
nengo/_vendor
ignore =
E123
E133
E203
E226
E241
E242
E501
E731
F401
W503
max-complexity = 10
max-line-length = 88
[tool:pytest]
norecursedirs =
.*
*.egg
build
dist
docs
plots
nengo/_vendor
filterwarnings =
always
ignore::ImportWarning
ignore:(Buffer|Memory|The nengo\.spa):DeprecationWarning
ignore:Skipping some optimization steps
ignore:SciPy is not installed
ignore:numpy.(dtype|ufunc) size changed
ignore:Object <BasalGanglia "bg"> has already been built
ignore:Object <Thalamus "thalamus"> has already been built
ignore:IPython.core.inputsplitter is deprecated
ignore:'step_math' has been renamed
plt_filename_drop =
^nengo\.
tests\.
xfail_strict = False
[pylint]
ignore =
_vendor,
compat.py,
spa,
[pylint.messages]
disable =
arguments-differ,
assignment-from-no-return,
attribute-defined-outside-init,
bad-continuation,
blacklisted-name,
comparison-with-callable,
duplicate-code,
fixme,
import-error,
invalid-name,
invalid-sequence-index,
len-as-condition,
literal-comparison,
no-else-raise,
no-else-return,
no-member,
no-name-in-module,
no-self-use,
not-an-iterable,
not-context-manager,
protected-access,
redefined-builtin,
stop-iteration-return,
too-few-public-methods,
too-many-arguments,
too-many-branches,
too-many-instance-attributes,
too-many-lines,
too-many-locals,
too-many-return-statements,
too-many-statements,
unexpected-keyword-arg,
unidiomatic-typecheck,
unsubscriptable-object,
unsupported-assignment-operation,
unused-argument,
missing-docstring,
redefined-outer-name,
[pylint.imports]
known-third-party =
matplotlib,
nengo,
numpy,
pytest,
mpl_toolkits,
pytest_allclose,
[pylint.format]
max-line-length = 88
[pylint.classes]
valid-metaclass-classmethod-first-arg = metacls
[pylint.reports]
reports = no
score = no
[codespell]
skip = ./build,*/_build,*-checkpoint.ipynb,./.eggs,./*.egg-info,./.git,*/_vendor,./.mypy_cache,