Skip to content

Releases: nengo/nengo-bones

Release v0.7.0

07 Nov 15:45
Compare
Choose a tag to compare

Added

  • Added support for sphinx.ext.doctest, which can be used to automatically test code snippets in docstrings. (#67)

Changed

  • Updated the black version used in pre-commit hooks. (#67)

Release v0.6.0

30 Oct 14:37
Compare
Choose a tag to compare

Added

  • Added a remote.sh CI script template for remotely executing commands on an SSH-accessible machine. (#65)

Fixed

  • Fixed a crash when a file contained the text "Automatically generated by nengo-bones", but was not present in the config file. (#61, #66)

Release v0.5.0

03 Sep 16:45
Compare
Choose a tag to compare

Added

  • Added nengo_simulator, nengo_simloader and nengo_neurons options to the pytest section of the setup.cfg template to support testing changes in Nengo 3.0. (#58)

Changed

  • The default value for pytest.addopts in setup.cfg has been removed because Nengo 3.0 does not require -p nengo.tests.options. (#58)

Release v0.4.2

08 Aug 14:38
Compare
Choose a tag to compare

Added

  • Added plt_dirname option to the pytest section of the setup.cfg template to set the plot directory for pytest-plt. (#52)
  • Added plt_filename_drop option to the pytest section of the setup.cfg template to set pruning patterns for pytest-plt. (#52)
  • Added rng_salt option to the pytest section of the setup.cfg template to set the salt for pytest-rng. (#55)

Release v0.4.1

26 Jul 23:18
Compare
Choose a tag to compare

Added

  • Added allclose_tolerances option to the pytest section of the setup.cfg template to set tolerances for pytest-allclose. (#47)

Release v0.4.0

26 Jul 16:37
Compare
Choose a tag to compare

Added

  • Added style guide and release instructions to documentation. (#44)
  • Added templates for .pre-commit-config.yaml and pyproject.toml so downstream repositories can easily adopt Black. (#49)

Changed

  • We now check that Python source files are autoformatted with Black in the static.sh script. (#49)
  • Templates will now be autoformatted with Black during the rendering process, if Black is installed. (#49)
  • Take advantage of multiprocessing to speed up pylint static checks. (#49)
  • The E203 flake8 check and bad-continuation pylint check are now disabled by default. (#50)

Release v0.3.0

19 Jul 16:54
Compare
Choose a tag to compare

Added

  • The nengo_bones.templates module was added to consolidate code that loads and renders templates. (#45)

Changed

  • The docs/conf.py template has been updated for new versions of Nengo Sphinx Theme. (#46)
  • static.sh and examples.sh will now check any notebooks in the docs folder (not just docs/examples). (#46)
  • bones-check now checks that the content of the generated files matches the expected content, rather than relying on version numbers. This means most files will not need to be regenerated when new Nengo Bones versions are released, and that bones-check will be sensitive to changes within a dev version. (#45)

Fixed

  • The static.sh/examples.sh script will no longer fail if there are no notebooks in the docs folder. (#46)

Release v0.2.1

24 May 20:42
Compare
Choose a tag to compare

Added

  • Added codespell_ignore_words option to static.sh.template, which is a list of words that codespell will ignore. (#35)
  • Added analytics_id option to docs_conf.py.template, which will enable Google Analytics tracking. (#35)

Changed

  • codespell will now ignore _vendor directories. (#36)

Fixed

  • Fixed an issue with static.sh.template in which Python files that were not converted from notebooks were deleted. (#16)

Release v0.2.0

17 May 02:08
Compare
Choose a tag to compare

Added

  • Added apt_install option that can be set in the jobs section to apt install any custom apt requirements for a job. (#14)
  • Added templates for CONTRIBUTING.rst, CONTRIBUTORS.rst, LICENSE.rst, MANIFEST.in, docs/conf.py, setup.cfg, and setup.py (#17)
  • Templates will now be automatically loaded from a <repo>/.templates directory if it exists. When overriding existing templates, the built-in templates can be accessed in include and extend tags with the templates/ prefix. (#17)
  • Added flake8 to the static check script. (#17)
  • Added the bones-pr-number script to predict the next PR number for a repository. This helps when writing a changelog entry before a PR has been made. (#18)

Changed

  • The Python version is now specified by the python option (instead of python_version), for consistency with .travis.yml. (#14)
  • All nengo-bones scripts now start with bones-, to make them easier to find with autocompletion. generate-bones is now bones-generate, and check-bones is now bones-check. (#18)

Removed

  • Removed conda from the CI setup; all installations should be done through pip instead. (#14)
  • Removed the --template-dir option from the generate-bones script; use a .templates directory instead. (#17)

Fixed

  • Order of templated dicts should now be deterministic for all Python versions. (#14)

Release v0.1.0

15 Apr 17:07
Compare
Choose a tag to compare

Initial release of Nengo Bones! Thanks to all of the contributors for making this possible!