We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d69d533 commit 29a37afCopy full SHA for 29a37af
1 file changed
CONTRIBUTING.md
@@ -45,10 +45,30 @@ You'll need:
45
poetry install
46
```
47
48
- Use `poetry run <command>` to run commands inside the environment. Alternatively, activate the environment with:
+ **Recommended**: Use `poetry run` to run commands inside the virtual environment:
49
50
```bash
51
- poetry env activate
+ poetry run pytest
52
+ poetry run python script.py
53
+ ```
54
+
55
+ **Optional**: If you prefer an interactive shell session, install the shell plugin first:
56
57
+ ```bash
58
+ poetry self add poetry-plugin-shell
59
60
61
+ Then activate the environment with:
62
63
64
+ poetry shell
65
66
67
+ After activation, commands run directly inside the virtual environment:
68
69
70
+ pytest
71
+ python script.py
72
73
74
5. **Install pre-commit hooks**
0 commit comments