From 6bca296905732a1f1a3ac145e71fe032a530664e Mon Sep 17 00:00:00 2001 From: Pradeep Kumar Date: Mon, 10 Mar 2025 20:31:48 +0530 Subject: [PATCH] Update instructions to install and activate using `poetry` --- CONTRIBUTING.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c902fef60..796142584 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -30,7 +30,14 @@ To install them you would need to run the `install` command: poetry install ``` -To activate your `virtualenv` run `poetry shell`. +To install extra dependencies for working on the `hypothesis` or `mypy` plugin: + +```bash +poetry install --extras check-laws +poetry install --extras compatible-mypy +``` + +To activate your `virtualenv` run `eval $(poetry env activate)`. ## Tests