From ce6495f486fd2815b418d1c63081646ebb10d48c Mon Sep 17 00:00:00 2001 From: Ben C Date: Mon, 21 Mar 2022 07:37:04 -0400 Subject: [PATCH] Update CONTRIBUTING.md --- CONTRIBUTING.md | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5b18dad..7355e21 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,17 +1,17 @@ # Issues -Ask for assignment before you begin working on an issue +Ask for assignment **before** you begin working on an issue # Cloning -To get started with development, fork and clone the repo: + +To get started with development, fork and clone the repo (you'll need [pipenv](https://pypi.org/project/pipenv/)): ```shell $ git clone https://github.com/YourUser/CodeReview ``` Then, create a venv and install all requirements ```shell -$ python -m venv venv -$ ./venv/scripts/activate -$ ./venv/scripts/pip install -r requirements.txt +$ pipenv install --dev +$ pipenv shell ``` Now, start the development server ```shell @@ -33,20 +33,16 @@ We try our best to adhere to PEP: # Testing To test your changes, run: ```shell -$ python run_tests.py +$ pipenv run python run_tests.py ``` # Coverage -To get testing coverage, install coverage: -```shell -$ ./venv/scripts/pip install coverage -``` -And then run: +To get testing coverage, run: ```shell -$ coverage run +$ pipenv run coverage run ``` Once testing completes run: ```shell -$ coverage report +$ pipenv run coverage report ``` To get a report of code coverage **Code coverage should stay above 95%** -- knotmirror 0.0.1