2018-06-25 13:15:32 +00:00
|
|
|
#!/bin/sh -e
|
|
|
|
|
|
|
|
export PREFIX=""
|
|
|
|
if [ -d 'venv' ] ; then
|
|
|
|
export PREFIX="venv/bin/"
|
|
|
|
fi
|
|
|
|
|
|
|
|
set -x
|
|
|
|
|
2019-02-18 18:28:31 +00:00
|
|
|
${PREFIX}mypy starlette --ignore-missing-imports --disallow-untyped-defs
|
2019-02-19 11:30:33 +00:00
|
|
|
${PREFIX}autoflake --in-place --recursive starlette tests setup.py
|
|
|
|
${PREFIX}black starlette tests setup.py
|
|
|
|
${PREFIX}isort --multi-line=3 --trailing-comma --force-grid-wrap=0 --combine-as --line-width 88 --recursive --apply starlette tests setup.py
|
2019-02-19 10:55:45 +00:00
|
|
|
${PREFIX}mypy starlette --ignore-missing-imports --disallow-untyped-defs
|