#!/bin/bash

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

set -ex

${PREFIX}poetry run black djantic tests --check
${PREFIX}poetry run flake8 djantic tests
# ${PREFIX}poetry run mypy djantic
