-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.cfg
156 lines (140 loc) · 3.27 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
145
146
147
148
149
150
151
152
153
154
155
156
# 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 = ./
relative_files = True
[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$
# Don't complain if non-runnable code isn't run:
if __name__ == .__main__.:
# Patterns for files to exclude from reporting
omit =
*/tests/test*
nengo_spa/conftest.py
[flake8]
exclude =
__init__.py
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
filterwarnings =
ignore::ImportWarning
ignore:(Buffer|Memory):DeprecationWarning
ignore:IPython.core.inputsplitter is deprecated:DeprecationWarning
ignore:Skipping some optimization steps
ignore:SciPy is not installed
ignore:numpy.(dtype|ufunc) size changed
xfail_strict = False
[pylint]
ignore =
compat.py,
[pylint.messages]
disable =
arguments-differ,
assignment-from-no-return,
attribute-defined-outside-init,
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,
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,
abstract-method,
broad-except,
chained-comparison,
consider-using-f-string,
consider-using-in,
eval-used,
expression-not-assigned,
import-error,
import-outside-toplevel,
inconsistent-return-statements,
keyword-arg-before-vararg,
missing-class-docstring,
missing-function-docstring,
missing-module-docstring,
no-else-break,
no-self-argument,
not-callable,
pointless-statement,
raise-missing-from,
reimported,
super-with-arguments,
superfluous-parens,
too-many-public-methods,
undefined-variable,
unnecessary-dunder-call,
unnecessary-lambda-assignment,
unneeded-not,
unspecified-encoding,
unused-variable,
use-implicit-booleaness-not-comparison,
[pylint.imports]
known-third-party =
matplotlib,
nengo,
numpy,
pytest,
[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,
ignore-words-list = ba