README: consistently use nox -s over nox -e (#923)

Some examples use `nox -s` and others use `nox -e`. `-e` and `-s` are
aliases, but we should stick to one for consistency.

(cherry picked from commit 57764782a1)
This commit is contained in:
Maxwell G
2023-12-04 14:17:06 -06:00
committed by patchback[bot]
parent d088d56809
commit 4bf886fd3a

View File

@@ -120,13 +120,13 @@ For more details about using unpinned and tested dependencies for doc builds, se
Use the following `nox` session to update the dependency lock files in `tests/`.
``` bash
nox -e pip-compile
nox -s pip-compile
```
To synchronize dependency lock files with base requirements files without changing transitive dependencies, use the `--no-upgrade` flag:
``` bash
nox -e pip-compile -- --no-upgrade
nox -s pip-compile -- --no-upgrade
```
> This session requires Python 3.10.
@@ -134,5 +134,5 @@ To synchronize dependency lock files with base requirements files without changi
If you do not have Python 3.10 installed, you can use root-less podman with a Python 3.10 image as follows:
```bash
podman run --rm --tty --volume "$(pwd):/mnt:z" --workdir /mnt docker.io/library/python:3.10 bash -c 'pip install nox ; nox -e pip-compile'
podman run --rm --tty --volume "$(pwd):/mnt:z" --workdir /mnt docker.io/library/python:3.10 bash -c 'pip install nox ; nox -s pip-compile'
```