This MR improves on !545 (merged) and also renders it redundant. Since !545 (merged) has already been reviewed though and this MR has significant changes, it probably makes sense to keep !545 (merged) open though.
Nox is a tool to create virtual environments and run commands within them. The intended usage is usually to run
nox --session tests
which will
- create a virtual environment
- build and install the package
- test the package/make a coverage report/etc.
but one can also run arbitrary commands.
One doesn't have to create a virtual environment either, so Nox is a strict superset of test.py
, which has been removed. Reviewers are encouraged to build the docs and consult the "Running tests" section in the developers' guide. You'll also have to run
poetry install --with dev,docs,tests,coverage,style,codequality,nox