I'm using the following stack to develop this package:
Please do the following:
- Make sure you have Pipenv installed.
- Create virtual env:
pipenv --python 3.8
- If you are using Visual Studio code, run
pipenv run python -c "import sys;print(sys.executable)"
and add the path topython.pythonPath
in your.vscode\settings.json
file. - Install dependencies using:
pipenv sync --dev
. - To update depencencies to the latest version:
pipenv update
.
Some hints on testing:
- Make sure your local development is set up correctly.
- Run
pipenv run python -m pytest
- Make sure test files are prefixed with
test_
. - To run tests that match the json:
pipenv run python -m pytest -k json
. You can add-vv
for a detailed overview.