Skip to content
Myr

check

This file

Path

scripts/check

14 lines · 307 bytes

Last changed by

Make isort configuration compatible with isort v5 (#1050)Taneli Hukkinenbefore adoption8dea2c2

History of this file

Take it

1#!/bin/sh -e23export PREFIX=""4if [ -d 'venv' ] ; then5    export PREFIX="venv/bin/"6fi7export SOURCE_FILES="httpx tests"89set -x1011${PREFIX}black --check --diff --target-version=py36 $SOURCE_FILES12${PREFIX}flake8 $SOURCE_FILES13${PREFIX}mypy httpx14${PREFIX}isort --check --diff --project=httpx $SOURCE_FILES