From 1769d1ac6580506a8c00cf3290d1a90eb1404caf Mon Sep 17 00:00:00 2001 From: Leonardo Schwarz Date: Thu, 7 Nov 2024 10:33:20 +0100 Subject: [PATCH] add some comment on nox --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index e3952b5..910b031 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,28 @@ uv pip install -e ".[dev]" This creates the virtual environment in the `.venv` directory. To activate the environment in your shell, you need to `source` the correct activation script from `.venv/bin`, e.g. `.venv/bin/activate` for bash. +### Install `nox` + +To run the tests the same way as in the CI, you can use `nox`. +In general, you can use the latest version. +It's suggested to install it with `pipx` but any other way is fine too. + +```bash +pipx install nox +``` + +Then you can run the checks with + +```bash +nox +``` + +or more specifically: + +```bash +nox -s tests +``` + ## Geometry Conventions TODO these are not used consistently everywhere yet