Skip to content
Myr

check

This file

Path

scripts/check

14 lines · 315 bytes

Last changed by

Type check tests (#1054)Florimond Mancabefore adoption0296c2b

History of this file

Take it

The walk stopped after 200 commits: lines older than 8c84210 point at it.

Increased test coverage & cleanup (#1003)Josep Cugatbefore adoption8c84210

lines 1–12why, one step back
1#!/bin/sh -e
23export 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_FILES

Type check tests (#1054)Florimond Mancabefore adoption0296c2b

line 13why, one step back
13${PREFIX}mypy $SOURCE_FILES

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

line 14why, one step back
14${PREFIX}isort --check --diff --project=httpx $SOURCE_FILES