-
Notifications
You must be signed in to change notification settings - Fork 0
/
.nengobones.yml
177 lines (166 loc) · 4.13 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
project_name: NengoBones
pkg_name: nengo_bones
repo_name: nengo/nengo-bones
license: abr-free
main_branch: main
description: Tools for managing Nengo projects
copyright_start: 2018
ci_scripts:
- template: static
pre_commands:
- cat bones-scripts/static.sh
post_commands:
- "[ -f 'docs/tests/ignore-me.py' ]"
- "[ ! -f 'docs/tests/test-example.py' ]"
- template: test
pre_commands:
- cat bones-scripts/test.sh
- export TEST_PRE_COMMANDS=True
post_commands:
- export TEST_POST_COMMANDS=True
- template: test
output_name: test-coverage
coverage: true
pre_commands:
- cat bones-scripts/test-coverage.sh
- export TEST_PRE_COMMANDS=True
- . "$HOME/.nvm/nvm.sh"
- nvm install 17
- nvm use 17
- npm install -g npm@latest-6
- node --version
# install prettier for use in bones-format-notebook
- npm install prettier
post_commands:
- export TEST_POST_COMMANDS=True
- template: test
output_name: test-nengo
nengo_tests: true
pip_install:
- nengo[tests]
pre_commands:
- cat bones-scripts/test-nengo.sh
- export TEST_PRE_COMMANDS=True
post_commands:
- export TEST_POST_COMMANDS=True
- template: docs
pre_commands:
- cat bones-scripts/docs.sh
pip_install:
- sphinx-click>=2.0.1
- template: examples
pre_commands:
- cat bones-scripts/examples.sh
pip_install:
- mock
- template: deploy
wheel: true
pre_commands:
- cat bones-scripts/deploy.sh
- template: auto-update
pre_commands:
- cat bones-scripts/auto-update.sh
repos:
- nengo/keras-lmu
- nengo/keras-spiking
- nengo/lmu
- nengo/nengo
- nengo/nengo-dl
- nengo/nengo-edge
- nengo/nengo-fpga
- nengo/nengo-interfaces
- nengo/nengo-loihi
- nengo/nengo-spa
- nengo/nengo-sphinx-theme
- nengo/pytest-allclose
- nengo/pytest-plt
- nengo/pytest-rng
- nengo/pytorch-spiking
contributing_rst: {}
contributors_rst: {}
license_rst: {}
manifest_in:
recursive-include:
- actions *.yml
setup_py:
entry_points:
console_scripts:
- bones=nengo_bones.scripts.base:bones
include_package_data: True
# note: docs/tests_req are intentionally empty to test that the correct
# requirements are built into the ci scripts
install_req:
- black>=22.1.0
- click>=7.0
- codespell>=2.0.0
- docformatter==1.5.0
- flake8>=3.7.7
- jinja2>=2.11
- jupyter>=1.0.0
- pylint>=2.5.1
- pyyaml>=5.1
- requests>=2.21
tests_req:
- check-manifest>=0.48
classifiers:
- "Development Status :: 4 - Beta"
- "Framework :: Nengo"
- "Intended Audience :: Developers"
- "Operating System :: Microsoft :: Windows"
- "Operating System :: POSIX :: Linux"
- "Programming Language :: Python"
- "Programming Language :: Python :: 3.8"
- "Programming Language :: Python :: 3.9"
- "Programming Language :: Python :: 3.10"
- "Programming Language :: Python :: 3.11"
- "Topic :: Software Development"
setup_cfg:
pytest:
addopts: []
norecursedirs:
- tests/ignoreme
markers:
test-marker: Not a real
marker
nengo_test_unsupported:
"*": All tests are
unsupported
coverage:
exclude_lines:
- "if __name__ == .__main__.:"
omit_files:
- "*/tests/utils.py"
- "*/tests/ignoreme/*"
flake8:
exclude:
- nengo_bones/tests/ignoreme
pylint:
ignore:
- ignoreme
codespell:
ignore_words:
- coment
- serach
skip:
- test_format_notebook.py
docs_conf_py:
exclude_patterns:
- tests/test-example.ipynb
sphinx_options:
suppress_warnings: '["image.nonlocal_uri"]'
extensions:
- sphinx_click.ext
intersphinx_mapping:
click: https://click.palletsprojects.com/en/7.x
doctest_setup:
- "# Testing that doctest_setup works"
- "# with multiple lines"
html_redirects:
changelog.html: changes.html
pyproject_toml:
black_exclude:
- tests/ignoreme/ignoreme.py
- tests/ignoreme/ignoreme.py
version_py:
type: calver
release: false