17 lines
499 B
Bash
Executable File
17 lines
499 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
export PREFIX=""
|
|
if [ -d 'venv' ] ; then
|
|
export PREFIX="venv/bin/"
|
|
fi
|
|
|
|
set -x
|
|
|
|
${PREFIX}autoflake --in-place --recursive httpx tests setup.py
|
|
${PREFIX}isort --multi-line=3 --trailing-comma --force-grid-wrap=0 --combine-as --line-width 88 --recursive --apply httpx tests setup.py
|
|
${PREFIX}black httpx tests setup.py
|
|
${PREFIX}flake8 --max-line-length=88 --ignore=W503,E203,B305 httpx tests setup.py
|
|
${PREFIX}mypy httpx --ignore-missing-imports --disallow-untyped-defs
|
|
|
|
scripts/clean
|