From 4bf886fd3ae248b5766247a1d3ff3ae475be75cb Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Mon, 4 Dec 2023 14:17:06 -0600 Subject: [PATCH] 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 57764782a14b0d319530bcdad7514f383628cee9) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0364ea347c..e9392b53ba 100644 --- a/README.md +++ b/README.md @@ -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' ```