Skip to content

hubmapconsortium/ingest-validation-tests

Repository files navigation

ingest-validation-tests

This repository contains plug-in tests for use during validation of submissions. It is referenced by ingest-validation-tools.

Development process

Branches

  • 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-tests directory:

    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.

Setup

  • 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.

Testing

  • Run ./test.sh

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 9