Skip to content

Commit 740d8e2

Browse files
committed
Remove remaining references to poetry shell
1 parent 04096bb commit 740d8e2

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

docs/index.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,16 @@ Then install the `fact` package and its dependencies:
6868
poetry sync
6969
```
7070

71-
Activate the virtual environment created automatically by Poetry:
71+
## Quick Start
72+
73+
To run the included CLI:
7274

7375
```bash
74-
poetry shell
76+
poetry run fact 3
7577
```
7678

77-
## Quick Start
78-
79-
To use `fact` within your project, import the `factorial` function and execute the API like:
79+
To use `fact` as a library within your project, import the `factorial` function and execute the
80+
API like:
8081

8182
*[API]: Application Programming Interface
8283

noxfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ def test(s: Session) -> None:
2626

2727

2828
# For some sessions, set venv_backend="none" to simply execute scripts within the existing Poetry
29-
# environment. This requires that nox is run within `poetry shell` or using `poetry run nox ...`.
29+
# environment. This requires that nox is run within the `poetry env activate` virtual environment
30+
# or using `poetry run nox ...`.
3031
@session(venv_backend="none")
3132
@parametrize(
3233
"command",

0 commit comments

Comments
 (0)