Python version: 3.7+
To create environment for development, follow these steps:
Mac OS:
# in the project root directory python -m venv venv source venv/bin/activate pip install --upgrade pip pip install -r requirements-dev.txt cd ../ pip install -e ./quara
Windows:
# in the project root directory python -m venv venv .\venv\Scripts\activate pip install --upgrade pip pip install -r requirements-dev.txt cd ../ pip install -e ./quara
We currently use pytest for testing.
To test all the code, enter the following command:
pytest
To generate a coverage report, enter the following command:
pytest -v --cov=quara --cov-report=html open htmlcov/index.html
To learn how to build the documentation, refer to "How to build the docs"