This repo serves as a way to run a given resource through the pipeline in order to provide validation/information on the data.
- Python 3.6 or above
- Create a virtual environment using
and activate it using
python3 -m venv --prompt . .venv --clear --upgrade-deps
source .venv/bin/activate
- After cloning this repo, run the following command to set up the repo:
make init
- Project dependencies are managed via pip-tools
- to add a dependency, write it on a new line in
/requirements/requirements.in
or/requirements/dev-requirements.in
- to install the requirements run:
make update-dependencies
- To start the server run the following command:
make server
Testing is done using pytest
- To run unit tests run:
make test-unit
- To run integration tests run:
make test-integration
- To run acceptance tests run:
make test-acceptance
We use flake8 for linting, combined with black for automatic code formatting
- To run the linting checks and code formatter run:
make lint