lint
This file
Path
scripts/lint
14 lines · 342 bytes
Last changed by
Make isort configuration compatible with isort v5 (#1050)Taneli Hukkinenbefore adoption8dea2c2
History of this fileTake it
1#!/bin/sh -e23export PREFIX=""4if [ -d 'venv' ] ; then5 export PREFIX="venv/bin/"6fi7export SOURCE_FILES="httpx tests"89set -x1011${PREFIX}autoflake --in-place --recursive $SOURCE_FILES12${PREFIX}seed-isort-config --application-directories=httpx13${PREFIX}isort --project=httpx $SOURCE_FILES14${PREFIX}black --target-version=py36 $SOURCE_FILES