make container target=build-run
nox -s lint
On all supported Python versions:
nox -s test
On only 3.9 (for example):
nox -s test-3.9
Please also note that you can reuse an existing environment if you run nox with the -r
argument (or even -R
if you
don't want to attempt to reinstall packages). This can significantly speed up repeat test runs.
nox -s build_docs
To run code coverage locally, you can either use pytest
in one of the test environments or
run nox -s test
with coverage arguments. We use pytest-cov for our coverage reporting.