forked from nengo/nengo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.nengobones.yml
302 lines (289 loc) · 8.91 KB
/
.nengobones.yml
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
project_name: Nengo
pkg_name: nengo
repo_name: nengo/nengo
description: Tools for building and simulating large-scale neural models
copyright_start: 2013
license_rst: {}
contributing_rst: {}
contributors_rst: {}
manifest_in:
graft:
- nengo-data
recursive-include:
- nengo *.md
- nengo *.rst
- nengo *.txt
setup_py:
package_data:
nengo:
- nengo-data/nengorc
py_modules:
- pytest_nengo
entry_points:
nengo.backends:
- reference = nengo:Simulator
pytest11:
- nengo = pytest_nengo
install_req:
- numpy>=1.13
docs_req:
- sphinx>=1.8
- jupyter
- matplotlib>=1.4
- nbsphinx
- numpydoc>=0.6
- nengo_sphinx_theme>=1.2.0
optional_req:
- scipy>=0.13
- scikit-learn
tests_req:
- jupyter
- matplotlib>=1.4
- pytest>=3.6
- pytest-allclose
- pytest-plt
- pytest-rng
classifiers:
- "Development Status :: 5 - Production/Stable"
- "Framework :: Nengo"
- "Intended Audience :: Science/Research"
- "License :: Free for non-commercial use"
- "Operating System :: OS Independent"
- "Programming Language :: Python :: 3 :: Only"
- "Programming Language :: Python :: 3.5"
- "Programming Language :: Python :: 3.6"
- "Programming Language :: Python :: 3.7"
- "Programming Language :: Python :: 3.8"
- "Topic :: Scientific/Engineering :: Artificial Intelligence"
setup_cfg:
coverage:
omit_files:
- "nengo/_vendor/*"
- "nengo/spa/*"
# omit filter_design.py until it gets moved to nengo/_vendor
- "nengo/utils/filter_design.py"
flake8:
exclude:
- compat.py
- nengo/_vendor
pytest:
norecursedirs:
- "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\.
pylint:
ignore:
- _vendor
- compat.py
- nengo/spa
disable:
# TODO: fix these and start checking for them
- abstract-method
- bad-continuation
- bad-string-format-type
- broad-except
- not-callable
- chained-comparison
- consider-iterating-dictionary
- consider-merging-isinstance
- consider-using-in
- cyclic-import
- eval-used
- exec-used
- expression-not-assigned
- global-statement
- inconsistent-return-statements
- invalid-unary-operand-type
- keyword-arg-before-vararg
- logging-format-interpolation
- missing-docstring
- nonexistent-operator
- pointless-statement
- redefined-argument-from-local
- redefined-outer-name
- reimported
- single-string-used-for-slots
- superfluous-parens
- too-many-ancestors
- trailing-comma-tuple
- undefined-loop-variable
- unexpected-special-method-signature
- unnecessary-pass
- unused-variable
known_third_party:
- mpl_toolkits
- pytest_allclose
docs_conf_py:
intersphinx_mapping:
scipy: 'https://docs.scipy.org/doc/scipy/reference'
sklearn: 'https://scikit-learn.org/dev'
analytics_id: UA-41658423-2
extensions:
- nengo_sphinx_theme.ext.autoautosummary
- nengo_sphinx_theme.ext.resolvedefaults
- sphinx.ext.inheritance_diagram
doctest_setup:
- "import numpy as np"
- "if np.__version__ >= '1.14':"
- " np.set_printoptions(legacy='1.13')"
html_redirects:
backend_api.html: backend-api.html
examples/advanced/functions_and_tuning_curves.html:
examples/advanced/functions-and-tuning-curves.html
examples/advanced/inhibitory_gating.html:
examples/advanced/inhibitory-gating.html
examples/advanced/matrix_multiplication.html:
examples/advanced/matrix-multiplication.html
examples/advanced/nef_algorithm.html: examples/advanced/nef-algorithm.html
examples/advanced/nef_summary.html: examples/advanced/nef-summary.html
examples/basic/2d_representation.html: examples/basic/2d-representation.html
examples/basic/communication_channel.html:
examples/basic/communication-channel.html
examples/basic/many_neurons.html: examples/basic/many-neurons.html
examples/basic/single_neuron.html: examples/basic/single-neuron.html
examples/basic/two_neurons.html: examples/basic/two-neurons.html
examples/dynamics/controlled_integrator.html:
examples/dynamics/controlled-integrator.html
examples/dynamics/controlled_integrator2.html:
examples/dynamics/controlled-integrator2.html
examples/dynamics/controlled_oscillator.html:
examples/dynamics/controlled-oscillator.html
examples/dynamics/lorenz_attractor.html:
examples/dynamics/lorenz-attractor.html
examples/learning/learn_associations.html:
examples/learning/learn-associations.html
examples/learning/learn_communication_channel.html:
examples/learning/learn-communication-channel.html
examples/learning/learn_product.html: examples/learning/learn-product.html
examples/learning/learn_square.html: examples/learning/learn-square.html
examples/learning/learn_unsupervised.html:
examples/learning/learn-unsupervised.html
examples/networks/basal_ganglia.html: examples/networks/basal-ganglia.html
examples/networks/ensemble_array.html: examples/networks/ensemble-array.html
examples/networks/integrator_network.html:
examples/networks/integrator-network.html
examples/usage/delay_node.html: examples/usage/delay-node.html
examples/usage/network_design_advanced.html:
examples/usage/network-design-advanced.html
examples/usage/network_design.html: examples/usage/network-design.html
examples/usage/rectified_linear.html: examples/usage/rectified-linear.html
examples/usage/tuning_curves.html: examples/usage/tuning-curves.html
frontend_api.html: frontend-api.html
getting_started.html: getting-started.html
improving_performance.html: improving-performance.html
user_guide.html: user-guide.html
autoautosummary_change_modules:
nengo:
- nengo.learning_rules.PES
- nengo.learning_rules.BCM
- nengo.learning_rules.Oja
- nengo.learning_rules.Voja
- nengo.neurons.Direct
- nengo.neurons.RectifiedLinear
- nengo.neurons.SpikingRectifiedLinear
- nengo.neurons.Sigmoid
- nengo.neurons.Tanh
- nengo.neurons.LIF
- nengo.neurons.LIFRate
- nengo.neurons.AdaptiveLIF
- nengo.neurons.AdaptiveLIFRate
- nengo.neurons.Izhikevich
- nengo.neurons.RegularSpiking
- nengo.neurons.PoissonSpiking
- nengo.neurons.StochasticSpiking
- nengo.synapses.LinearFilter
- nengo.synapses.Lowpass
- nengo.synapses.Alpha
- nengo.transforms.Dense
- nengo.transforms.Sparse
- nengo.transforms.Convolution
- nengo.config.Config
nengo.builder:
- nengo.builder.operator.Operator
- nengo.builder.signal.Signal
travis_yml:
python: 3.6
global_vars:
NUMPY: numpy
jobs:
- script: static
- script: test-coverage-scipy
test_args: --memory --plots
- script: test-coverage
test_args: --plots
python: 3.5
- script: docs
apt_install:
- graphviz
- pandoc
- env:
NUMPY: numpy==1.13
if: "branch =~ ^release-candidate-*"
cache: false # disable the cache for one build to make sure that works
- env:
NUMPY: numpy==1.14
if: "branch =~ ^release-candidate-*"
- env:
NUMPY: numpy==1.15
if: "branch =~ ^release-candidate-*"
- env:
NUMPY: numpy==1.16
if: "branch =~ ^release-candidate-*"
- env:
NUMPY: numpy==1.17
if: "branch =~ ^release-candidate-*"
- dist: bionic
python: 3.7
- dist: bionic
python: 3.8
pypi_user: tbekolay
deploy_dists:
- sdist
- bdist_wheel
slack_notifications: "bWVmSjW3kLZEEmJxpEmcrxlOFMVK24pYbgTZ2pjra0KMmwA2OJ11BsjdDW0fDE\
Vd4JJGkxV3vOghsufRTrKE10reLHSM0Jtum8PYvlYk7riE8yUish0VCwxa8gYZpsH41Q7IlJQB04y5XxwY\
MqSnDepOAmB8C5babwYJkzfF5Dw="
ci_scripts:
- template: static
- template: test
pip_install:
- $NUMPY
- template: test
output_name: test-coverage
pip_install:
- $NUMPY
coverage: true
- template: test
output_name: test-coverage-scipy
pip_install:
- $NUMPY
- scipy
- scikit-learn
coverage: true
- template: docs
pip_install:
- $NUMPY
- scipy
- matplotlib
- template: deploy
codecov_yml:
abs_target: 100%
pre_commit_config_yaml:
exclude:
- "_vendor/*"
pyproject_toml:
exclude:
- "_vendor/*"