starlette/scripts/lint

11 lines
136 B
Bash
Executable File

#!/bin/sh -e
export PREFIX=""
if [ -d 'venv' ] ; then
export PREFIX="venv/bin/"
fi
set -x
${PREFIX}black starlette tests --check