From 0f271c665c5fdf75be7e48246a7b50bbd1dd5290 Mon Sep 17 00:00:00 2001 From: Nico Tonnhofer Date: Tue, 10 Sep 2024 21:57:57 +0200 Subject: [PATCH 1/2] fix: contribution guide --- CONTRIBUTING.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c5f6ddd2..f218eeac 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -42,15 +42,18 @@ To just check for lint errors, run: To run against a particular Python version: - nox --session tests-3.8 - nox --session tests-3.9 - nox --session tests-3.10 - nox --session tests-3.11 - nox --session tests-3.12 + nox --session "tests(python='3.12', tox_version='latest') + nox --session conda_tests + nox --session mamba_tests + nox --session micromamba_tests When you send a pull request the CI will handle running everything, but it is recommended to test as much as possible locally before pushing. +You can list all possible tests with: + + nox --list-sessions + ## Getting a sticker If you've contributed to Nox, you can get a cute little Nox sticker. Reach out to Thea at me@thea.codes to request one. From 42748106153e39132617730117376e5abfbc8704 Mon Sep 17 00:00:00 2001 From: Nico Tonnhofer Date: Tue, 10 Sep 2024 21:50:45 +0200 Subject: [PATCH 2/2] Update CONTRIBUTING.md Co-authored-by: Henry Schreiner --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f218eeac..6479a924 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -42,7 +42,7 @@ To just check for lint errors, run: To run against a particular Python version: - nox --session "tests(python='3.12', tox_version='latest') + nox --session "tests(python='3.12', tox_version='latest')" nox --session conda_tests nox --session mamba_tests nox --session micromamba_tests