QRules 0.8.1
Release 0.8.1
Maintenance release: mainly improves mobile version of the website.
See all documentation for this version here.
⚠️ Interface
Optional dependencies "extras" has been renamed to "all" (a2fc2dd)
🖱️ Developer Experience
Added PR template + gitpod extensions (#52)
GitPod now automatically installs recommended VSCode extensions (#52)
Notebooks can now be run through pytest (#53)
Provides a faster way of running all notebooks. Usage:
tox -e testnb
EXECUTE_NB=yes tox -e testnb # as if run by Sphinx
or
poytest --nb-test-files # all tests and notebooks
pytest docs --nb-test-files
pytest docs --nb-test-files -n auto # parallel
Rest of the configuration, such as ignoring cell output, is provided through pytest.ini
. For further info, see pytest-notebook
.
Note that the notebooks are still run through Sphinx on the CI. This is to ensure the rendering on RTD works correctly. pytest-notebook
is therefore only installed through the dev
extras, not through the test
extras.
Removed nbstripout from developer dependencies (c7c93f7)
Only available as pre-commit
hook now.
Added more flake8 plugins and fixed identified problems (ffa91f5)
Added VSCode test explorer extension (2318823)
Native VSCode test explorer doesn't work as great. For instance, it's not possible to run all tests within a folder.