#! /bin/bash -ex

export PREFIX=""
if [ -d '.venv' ] ; then
    export PREFIX=".venv/bin/"
fi

./scripts/check
${PREFIX}pytest tests
