- Python 3.8.1 (preferred)
It is suggested to use a pyenv to easily manage python versions. Some of the following commands use pyenv.
- Install and activate python 3.8.1 in the root directory
pyenv install 3.8.1pyenv virtualenv 3.8.1 ksmrefpyenv local ksmref
- Install precommit hook
pre-commit install
- Install project requirements
pip install -r requirements.txt
You're all set to hack!
Before making changes, let's ensure tests run successfully on local.
- Run all tests with coverage
coverage run -m pytest -v
- Show report in terminal
coverage report -m
./build.sh