This repository contains plug-in tests for use during validation of submissions. It is referenced by ingest-validation-tools.
-
Make new feature branches from
devel. -
Before submitting a PR, make sure your code is black, isort, and flake8 compliant. Run the following from the base
ingest-validation-testsdirectory:black --line-length 99 . isort --profile black --multi-line 3 . flake8(Integrating black and potentially isort/flake8 with your editor may allow you to skip this step, see Setup section below.)
-
Make PRs to
devel. (This is the default branch.) -
The last reviewer to approve a PR should merge it.
-
Creating and activating a virtual environment is recommended. These instructions assume you are using a virtual environment. Example using venv:
python3.11 -m venv hm-ingest-validation-tests source hm-ingest-validation-tests/bin/activate -
Run
pip install -r requirements.txt -
Run
pip install -r requirements-dev.txt -
(optional) Integrate black with your editor.
-
(optional) Integrate isort with your editor.
-
(optional) Integrate flake8 with your editor.
- Run
./test.sh