From 93a0de3519de18cbf0bfc685b2220bc451b8af92 Mon Sep 17 00:00:00 2001 From: Manuel Da Pena <65864237+mdapena@users.noreply.github.com> Date: Fri, 15 Dec 2023 11:32:32 -0400 Subject: [PATCH] Update contributing.md --- docs/contributing.md | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/docs/contributing.md b/docs/contributing.md index ca3f260..da2b4af 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -88,6 +88,7 @@ hide: ```console source ./venv/Scripts/activate ``` + 3. Install development dependencies: ```console @@ -100,16 +101,16 @@ hide: During development, you have two options to run the test suite:

-=== "Using Hatch" +=== "Manual" ```console - hatch run tests:test + pytest -v ``` -=== "Manual" +=== "Using Hatch" ```console - pytest -v + hatch run tests:test ``` !!! tip "Validating New Event Emitters" @@ -127,16 +128,16 @@ hide: following command:

-=== "Using Hatch" +=== "Manual" ```console - hatch run tests:typing + mypy ``` -=== "Manual" +=== "Using Hatch" ```console - mypy + hatch run tests:typing ``` ### Code Coverage @@ -145,16 +146,16 @@ hide: To check the code [coverage](https://coverage.readthedocs.io/en/7.3.3/) of your changes, run the following command:

-=== "Using Hatch" +=== "Manual" ```console - hatch run tests:cov + coverage run -m pytest -v ``` -=== "Manual" +=== "Using Hatch" ```console - coverage run -m pytest -v + hatch run tests:cov ``` ## Pyventus Documentation