|
#!/bin/sh -e
|
|
|
|
export PREFIX=""
|
|
if [ -d 'venv' ] ; then
|
|
export PREFIX="venv/bin/"
|
|
fi
|
|
export SOURCE_FILES="starlette tests"
|
|
|
|
set -x
|
|
|
|
./scripts/sync-version
|
|
${PREFIX}black --check --diff $SOURCE_FILES
|
|
${PREFIX}mypy $SOURCE_FILES
|
|
${PREFIX}ruff check $SOURCE_FILES
|