lint
This file
Path
scripts/lint
14 lines · 362 bytes
Last changed by
Drop nox in favor of vanilla scripts (#566)Florimond Mancabefore adoption8d55d78
History of this fileTake it
Drop nox in favor of vanilla scripts (#566)Florimond Mancabefore adoption8d55d78
lines 1–14why, one step back1#!/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 --recursive --apply $SOURCE_FILES14${PREFIX}black --target-version=py36 $SOURCE_FILES